mirror of https://github.com/apache/lucene.git
SOLR-14922: Include solr-ref-guide tasks in sourceSets for IntelliJ (#1973)
This commit is contained in:
parent
c5cf13259e
commit
e444df1435
|
@ -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 = []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -18,7 +18,6 @@
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.io.FilenameFilter;
|
import java.io.FilenameFilter;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import java.util.concurrent.atomic.AtomicInteger;
|
|
||||||
import java.util.concurrent.atomic.AtomicReference;
|
import java.util.concurrent.atomic.AtomicReference;
|
||||||
|
|
||||||
import org.json.*;
|
import org.json.*;
|
||||||
|
|
|
@ -20,29 +20,19 @@ import java.net.URI;
|
||||||
import java.net.URISyntaxException;
|
import java.net.URISyntaxException;
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
import java.net.MalformedURLException;
|
import java.net.MalformedURLException;
|
||||||
import java.nio.file.Files;
|
|
||||||
import java.util.Arrays;
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
|
||||||
import java.util.Iterator;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.LinkedHashSet;
|
import java.util.LinkedHashSet;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.regex.Matcher;
|
|
||||||
import java.util.regex.Pattern;
|
|
||||||
|
|
||||||
import org.jsoup.Jsoup;
|
import org.jsoup.Jsoup;
|
||||||
import org.jsoup.nodes.Document;
|
import org.jsoup.nodes.Document;
|
||||||
import org.jsoup.nodes.Element;
|
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.parser.Tag;
|
||||||
import org.jsoup.select.Elements;
|
import org.jsoup.select.Elements;
|
||||||
import org.jsoup.select.NodeVisitor;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check various things regarding anchors, links & general doc structure in the generated HTML site.
|
* 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) + "...";
|
return s.substring(0, 17) + "...";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue