Dawid Weiss
3115797463
LUCENE-9871: clean up some old cruft and shuffle files around. Correct inputs/outputs on check broken links so that it's incremental.
2021-03-30 10:55:19 +02:00
Dawid Weiss
974e4bc5e8
LUCENE-9880: correct task ordering for clean.
2021-03-30 10:08:44 +02:00
Dawid Weiss
27510d5f2f
LUCENE-9862: cleanup of all regenerate tasks; moved common code into shared bit. Added failOnError for ant.patch. Included jflexStandardTokenizerImpl.
2021-03-24 15:39:45 +01:00
Robert Muir
945b1cb872
LUCENE-9856: fail precommit on unused local variables, take two ( #37 )
...
Enable ecj unused local variable, private instance and method detection. Allow SuppressWarnings("unused") to disable unused checks (e.g. for generated code or very special tests). Fix gradlew regenerate for python 3.9 SuppressWarnings("unused") for generated javacc and jflex code. Enable a few other easy ecj checks such as Deprecated annotation, hashcode/equals, equals across different types.
Co-authored-by: Mike McCandless <mikemccand@apache.org>
2021-03-23 13:59:00 -04:00
Robert Muir
e6c4956cf6
Revert "LUCENE-9856: fail precommit on unused local variables ( #34 )"
...
This reverts commit 20dba278bb
.
2021-03-23 12:46:36 -04:00
Robert Muir
20dba278bb
LUCENE-9856: fail precommit on unused local variables ( #34 )
...
Enable ecj unused local variable, private instance and method detection. Allow SuppressWarnings("unused") to disable unused checks (e.g. for generated code or very special tests). Fix gradlew regenerate for python 3.9 SuppressWarnings("unused") for generated javacc and jflex code. Enable a few other easy ecj checks such as Deprecated annotation, hashcode/equals, equals across different types.
Co-authored-by: Mike McCandless <mikemccand@apache.org>
2021-03-23 11:09:24 -04:00
Dawid Weiss
078d0079d1
LUCENE-9861: pull tuned vm options into a separate aspect. ( #33 )
2021-03-23 10:39:09 +01:00
Dawid Weiss
246c4beb22
LUCENE-9854: Clean up utilities to download and extract test/ benchmark data sets. ( #27 )
2021-03-22 12:22:39 +01:00
Dawid Weiss
53bea54669
LUCENE-9375: cleaning up post-split conditional build logic and solr refs. ( #22 )
2021-03-18 11:04:45 +01:00
Dawid Weiss
7f5e660395
LUCENE-9375: some build file cleanups. ( #10 )
2021-03-10 21:47:37 +01:00
Dawid Weiss
fdf486ba54
LUCENE-9375: post-repo-split removal of solr counterpart.
2021-03-10 11:20:08 +01:00
Dawid Weiss
409bc37c13
SOLR-14759: a few initial changes so that Lucene can be built independently while Solr code is still in place. ( #2448 )
2021-03-08 14:59:08 +01:00
Dawid Weiss
d2fb89c22f
LUCENE-9793: Add task time aggregation utility (enabled with -Ptask.times=true).
2021-02-20 20:18:16 +01:00
Dawid Weiss
8f56ae0a4b
LUCENE-9767: infrastructure for icu regeneration in place. ( #2362 )
2021-02-14 21:07:39 +01:00
Houston Putman
2b8d7bcd6a
SOLR-15075: Solr docker gradle improvements ( #2197 )
...
* Removed docker plugin from gradle builds.
* Removed package docker image.
* Tasks now have correct inputs/outputs/dependencies.
* Move gradle help text to docker folder.
* Reduce duplicated Docker layer by doing file removal and chmod in another stage.
Co-authored-by: David Smiley <dsmiley@apache.org>
2021-01-26 10:22:50 -05:00
Dawid Weiss
c94b035df8
LUCENE-9564: add spotless and gjf (automatic code formatter)
2020-12-17 13:11:54 +01:00
zacharymorn
ebc87a8a27
LUCENE-8982: Separate out native code to another module to allow cpp build with gradle ( #2068 )
...
* LUCENE-8982: Separate out native code to another module to allow cpp build with gradle
2020-11-16 09:40:03 +01:00
Dawid Weiss
a29d7c70d5
LUCENE-9597: checkWorkingCopyClean shouldn't complain about untracked empty folders (similar to git status). Piggybacking jgit update. ( #2061 )
2020-11-03 12:50:05 +01:00
Mike Drob
08e38d3452
LUCENE-9488 Create Release Artifacts with Gradle ( #1905 )
...
* Build Lucene binary distribution using Gradle
* Generate SHA-512 checksums for all release artifacts
* Update documentation artifacts included in binaries
* Delete some additional Ant relics
Co-authored-by: Dawid Weiss <dawid.weiss@carrotsearch.com>
Co-authored-by: Uwe Schindler <uschindler@apache.org>
2020-10-08 14:25:51 -05:00
Namgyu Kim
00d7f5ea68
LUCENE-9544: Port Nori dictionary compilation ( #1926 )
2020-09-28 20:28:21 +09:00
Dawid Weiss
6b0149ec1a
Revert "add regenerate gradle script for nori dictionary ( #1924 )"
...
This reverts commit e28e8c0e0c
.
2020-09-28 09:52:34 +02:00
Namgyu Kim
e28e8c0e0c
add regenerate gradle script for nori dictionary ( #1924 )
2020-09-28 08:54:27 +02:00
Uwe Schindler
e19239d96b
Upgrade forbiddenapis to version 3.1
2020-09-23 14:56:46 +02:00
Dawid Weiss
6c9d7adf79
LUCENE-9527: upgrade javacc to 7.0.4 ( #1884 )
2020-09-17 13:29:18 +02:00
Houston Putman
485d5fb41a
SOLR-14789: Absorb the docker-solr repo. ( #1769 )
2020-09-11 12:29:29 -04:00
Dawid Weiss
a05a055d9d
LUCENE-9518: Add sanity to gradle archiving tasks (predictable order, default permissions, fail on duplicates) ( #1851 )
2020-09-10 09:48:04 +02:00
Varun Thacker
121b262389
LUCENE-9497: Integerate Error Prone ( Static Analysis Tool ) during compilation ( #1816 )
...
LUCENE-9497: Integrate Error Prone, a static analysis tool during compilation
2020-09-07 14:42:48 -07:00
Robert Muir
784ede4eda
LUCENE-9215: replace checkJavaDocs.py with doclet ( #1802 )
...
This has the same logic as the previous python, but no longer relies
upon parsing HTML output, instead using java's doclet processor.
The errors are reported like "normal" javadoc errors with source file
name and line number and happen when running "gradlew javadoc"
Although the "rules" are the same as the previous python, the python had
some bugs where the checker didn't quite do exactly what we wanted, so
some fixes were applied throughout.
Co-authored-by: Dawid Weiss <dawid.weiss@carrotsearch.com>
Co-authored-by: Uwe Schindler <uschindler@apache.org>
2020-09-02 08:29:17 -04:00
Dawid Weiss
9445d2c10e
Move Solr-specific config.
2020-08-31 15:43:56 +02:00
Dawid Weiss
4a2a2da462
LUCENE-9435: revert Solr's packaging stuff for now.
2020-08-31 14:55:59 +02:00
Dawid Weiss
5e8bb7922b
LUCENE-9491: Consolidate test options and improve support for dynamic… ( #1807 )
...
* LUCENE-9491: Consolidate test options and improve support for dynamically computed values.
2020-08-31 12:20:30 +02:00
Dawid Weiss
d847f40237
LUCENE-9474: make externalTool a function and add a build-stopping message on Windows for snowball generator.
2020-08-30 17:10:18 +02:00
Dawid Weiss
def82ab556
LUCENE-9435: Clean up ant compatability remnants in Gradle build
...
* Removing ant-only unused tasks.
* Correct message in TestVersion.java
* Remove unused file.
* Removing forbidden API rules for ant.
* Remove 'resolve' emulation.
* Move ecj-lint to task-definition-relative folder.
* Remove 'packaging' specification. It'll have to wait until proper new packaging is implemented for Solr distribution.
* Move render-javadoc tasks's files to task-relative location.
* Moved security manager policies and default JDK logging file to gradle's task relative locations.
* Removing obsolete ant tools. Moving check source patterns under gradle's folder.
* Correct paths.
* Correct property name in task selector.
2020-08-30 14:01:04 +02:00
Uwe Schindler
494a8a8e04
LUCENE-9474: Make external tools configurable like in ant through those sysprops: perl.exe, python3.exe, python2.exe
2020-08-23 20:16:22 +02:00
Uwe Schindler
ee6cf4c418
LUCENE-9474: Make the version number configurable from outside. This mainly allows Jenkins to set a different suffix than "SNAPSHOT"
2020-08-23 19:26:40 +02:00
Dawid Weiss
b1e2d0c890
LUCENE-9438: Eclipse IDE support with gradle build system ( #1761 )
2020-08-21 21:47:11 +02:00
Dawid Weiss
581e836569
LUCENE-9471: clean up task and global temporary junk files (workaround). ( #1767 )
2020-08-20 13:49:24 +02:00
Dawid Weiss
83ed210fd0
LUCENE-9465: 'beast' task from within gradle ( #1757 )
2020-08-18 09:28:50 +02:00
Dawid Weiss
8ebf2d0b21
LUCENE-9312: Allow builds against arbitrary JVMs (squashed
...
jira/LUCENE-9312)
2020-07-21 09:19:38 +02:00
Erick Erickson
9c1772f094
LUCENE-9411: Fail complation on warnings, 9x gradle-only
2020-06-23 16:21:10 -04:00
Uwe Schindler
08a13ce589
Upgrade forbiddenapis to hotfix release 3.0.1 (allows upgrade to commons-io 2.7 in Solr)
2020-06-04 01:01:42 +02:00
Dawid Weiss
da3dbb1921
LUCENE-9301: include build time and user name only in non-snapshot builds so that jars are not recompiled on each build in development.
2020-06-01 10:09:44 +02:00
Tomoko Uchida
84ea0cb87d
LUCENE-9374: Add checkBrokenLinks gradle task ( #1522 )
2020-05-20 23:23:24 +09:00
Uwe Schindler
06df50e759
LUCENE-9321: Port markdown task to Gradle ( #1477 )
2020-05-17 14:46:26 +02:00
Uwe Schindler
010168c57b
LUCENE-9321, LUCENE-9278: Refactor renderJavadoc to allow relative links with multiple Gradle tasks ( #1488 )
...
This also automatically collects linked projects by its dependencies, so we don't need to maintain all inter-project javadocs links.
Co-authored-by: Dawid Weiss <dweiss@apache.org>
2020-05-14 13:16:16 +02:00
Tomoko Uchida
5354f7e88e
LUCENE-9333: Add gradle task to compile changes.txt to a html ( #1468 )
2020-04-30 17:21:53 +09:00
Uwe Schindler
64eed9a1a6
LUCENE-9347: Add support for forbiddenapis 3.0 ( #1459 )
...
LUCENE-9347: Add support for forbiddenapis 3.0
2020-04-27 11:54:59 +02:00
Erick Erickson
3af165b32a
LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects
2020-04-17 20:40:32 -04:00
Dawid Weiss
9244558752
LUCENE-9201: remove javadoc task remnants. Make javadoc depend on renderJavadoc and skip the default gradle's implementation.
2020-04-12 12:55:56 +02:00
Dawid Weiss
2437f3f56c
LUCENE-9311: detect intellij reimport and modify sourceset to exclude solr-ref-guide/tools ( #1422 )
2020-04-09 13:55:42 +02:00