SOLR-14922: Include solr-ref-guide tasks in sourceSets for IntelliJ (#1973)

This commit is contained in:
Dawid Weiss 2020-10-12 12:25:13 +02:00 committed by GitHub
parent c5cf13259e
commit e444df1435
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 28 deletions

View File

@ -35,19 +35,3 @@ allprojects {
}
}
}
// Remove tools source set entirely if we're running under IntelliJ. Otherwise
// files that reference ant can't be compiled.
if (isIdea) {
configure(project(":solr:solr-ref-guide")) {
afterEvaluate {
sourceSets {
main {
java {
srcDirs = []
}
}
}
}
}
}

View File

@ -18,7 +18,6 @@
import java.io.*;
import java.io.FilenameFilter;
import java.util.*;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicReference;
import org.json.*;

View File

@ -20,29 +20,19 @@ import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.net.MalformedURLException;
import java.nio.file.Files;
import java.util.Arrays;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import java.util.HashMap;
import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.nodes.Node;
import org.jsoup.nodes.TextNode;
import org.jsoup.parser.Parser;
import org.jsoup.parser.Tag;
import org.jsoup.select.Elements;
import org.jsoup.select.NodeVisitor;
/**
* Check various things regarding anchors, links & general doc structure in the generated HTML site.
@ -422,5 +412,4 @@ public class CheckLinksAndAnchors { // TODO: rename this class now that it does
}
return s.substring(0, 17) + "...";
}
}