Dawid Weiss
f1299bca9f
Nuke the obsolete ant.txt help.
2021-03-19 13:09:42 +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
a827aaac2b
LUCENE-9570: add parial reformatting commit reference to .git-blame-ignore-revs [thanks rmuir] and add a note to git.txt aiding in making this a persistent local option.
2020-12-18 13:10:47 +01:00
Dawid Weiss
c94b035df8
LUCENE-9564: add spotless and gjf (automatic code formatter)
2020-12-17 13:11:54 +01:00
Houston Putman
d65041359e
SOLR-14949: Adding githubUrl option for docker build. ( #2074 )
2020-11-10 13:31:33 -05:00
Houston Putman
212b0f8657
SOLR-14949: Ability to customize Solr Docker build ( #2020 )
...
Also added a gradlew helpDocker page.
2020-11-10 10:42:38 -05:00
Erick Erickson
f6c4f8a755
SOLR-14910: Use in-line tags for logger declarations in Gradle ValidateLogCalls that are non-standard, change //logok to //nowarn
2020-10-03 09:47:37 -04:00
Mike Drob
14e4edc1e9
SOLR-14847: Create Solr Server TGZ ( #1844 )
...
Create new targets for building solr binary release artifacts:
gradlew -p solr/packaging distTar distZip
Co-authored-by: Houston Putman <houston@apache.org>
Co-authored-by: Dawid Weiss <dawid.weiss@carrotsearch.com>
Co-authored-by: Mike Drob <mdrob@apache.org>
2020-09-10 10:55:48 -05:00
Christine Poerschke
ccb299a2de
Fix typo in help/ant.txt file.
2020-09-09 13:06:45 +01:00
Dawid Weiss
b1e2d0c890
LUCENE-9438: Eclipse IDE support with gradle build system ( #1761 )
2020-08-21 21:47:11 +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
Jason Gerlowski
0ea0358624
SOLR-14532: Add *.iml files to gitignore
...
Also clarifies our docs on importing the project into IntelliJ.
2020-06-17 20:22:17 -04:00
Erick Erickson
217c2faa2c
LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects
2020-05-01 13:06:57 -04:00
Erick Erickson
9ae05e9b4f
LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects
2020-04-30 19:50:31 -04:00
Erick Erickson
6e96d01efc
LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects
2020-04-29 10:56:54 -04:00
Erick Erickson
960610a615
LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects
2020-04-27 20:45:57 -04:00
Erick Erickson
e43b17962a
LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects
2020-04-22 22:32:49 -04:00
Erick Erickson
c94770c2b9
LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects
2020-04-20 21:08:15 -04: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
Erick Erickson
e1e2085e94
SOLR-14386: Update Jetty to 9.4.27 and dropwizard-metrics version to 4.1.5
2020-04-04 16:14:57 -04:00
Dawid Weiss
c1c5d07d9d
LUCENE-9240: Add full validation equivalent for precommit.
2020-02-23 15:54:10 +01:00
Robert Muir
ed7f507c3c
LUCENE-9193: fix documentation typo for gradle tests
2020-01-30 23:54:31 -05:00
Robert Muir
4b5105e167
LUCENE-9193: heap allocations for tests.profile
...
Can be a bit noisier than cpu sampling, due to how threads are allocated
in tests... maybe we can improve that in the future.
2020-01-30 08:29:10 -05:00
Robert Muir
e504798a44
LUCENE-9185: add "tests.profile" to gradle build to aid fixing slow tests
...
Run test(s) with -Ptests.profile=true to print a histogram at the end of
the build.
2020-01-28 11:27:18 -05:00
Robert Muir
8e357b167b
LUCENE-9180: dos2unix files that don't need dos line endings
2020-01-27 11:29:59 -05:00
Dawid Weiss
5ab59f59ac
SOLR-11207: minor changes:
...
- added 'owasp' task to the root project. This depends on
dependencyCheckAggregate which seems to be a better fit for multi-module
projects than dependencyCheckAnalyze (the difference is vague to me
from plugin's documentation).
- you can run the "gradlew owasp" task explicitly and it'll run the
validation without any flags.
- the owasp task is only added to check if validation.owasp property
is true. I think this should stay as the default on non-CI systems
(developer defaults) because it's a significant chunk of time it takes
to download and validate dependencies.
- I'm not sure *all* configurations should be included in the check...
perhaps we should only limit ourselves to actual runtime dependencies
not build dependencies, solr-ref-guide, etc.
2020-01-26 10:45:05 +01:00
Jan Høydahl
74a8d6d5ac
SOLR-11207: Add OWASP dependency checker to gradle build ( #1121 )
...
* SOLR-11207: Add OWASP dependency checker to gradle build
2020-01-26 10:01:51 +01:00
Cassandra Targett
74e88deba7
Revert "SOLR-12930: move Gradle docs from ./help/ to new ./dev-docs/ directory"
...
This reverts commit 2d8650d36c
.
2020-01-24 15:56:00 -06:00
Cassandra Targett
2d8650d36c
SOLR-12930: move Gradle docs from ./help/ to new ./dev-docs/ directory
2020-01-23 14:04:19 -06:00
Robert Muir
9dae566ee7
LUCENE-9160: add params/docs to override jvm params in gradle build, default C2 off in tests.
...
Adds some build parameters to tune how tests run. There is an example
shown by "gradle helpLocalSettings"
Default C2 off in tests as it is wasteful locally and causes slowdown of
tests runs. You can override this by setting tests.jvmargs for gradle,
or args for ant.
Some crazy lucene stress tests may need to be toned down after the
change, as they may have been doing too many iterations by default...
but this is not a new problem.
2020-01-22 09:58:30 -05:00
Dawid Weiss
ae2e4f3ae9
Add git help to help/
2020-01-15 10:40:41 +01:00
Dawid Weiss
4599c51f0d
LUCENE-9122: add support for running tests against alternate jvms.
2020-01-09 19:00:32 +01:00
Dawid Weiss
14db6cb56e
Update ant's precommit equivalent.
2020-01-08 15:11:40 +01:00
Dawid Weiss
d2d28329ef
Changed license checksum regeneration task name to updateLicenses.
2019-12-18 14:14:39 +01:00
Dawid Weiss
4707fa2322
Add info about license tasks.
2019-12-13 15:21:08 +01:00
Dawid Weiss
eea3c1e472
Merging with master. Add deps help links.
2019-12-09 11:02:13 +01:00
Dawid Weiss
02c79dd211
Add testOpts task and info about it in tests.txt
2019-12-08 18:45:41 +01:00
Dawid Weiss
4d3040235e
Add initial guidelines concerning dependency management.
2019-12-08 18:34:12 +01:00
Dawid Weiss
1021f04d1a
Add some support for -Ptests.verbose mode when streams are dumped to the console. This is constrained by gradle's runner but is better than nothing.
2019-12-07 14:53:13 +01:00
Dawid Weiss
bf7d115414
Generate hardware-specific defaults for gradle parallelism on the first build run (any task). Add some explanations on how to tweak local settings even further (gradlew :helpLocalSettings
2019-12-05 11:14:09 +01:00
Dawid Weiss
6461909129
Port forbidden APIs. See gradlew :helpForbiddenApis to see how rules are applied automatically based on the set of dependencies of a project.
2019-12-03 14:40:35 +01:00
Dawid Weiss
5459a7938f
Clarify when test target skips and how to force-run it even for the same seed.
2019-12-02 18:04:56 +01:00
Dawid Weiss
d4a9842375
Initial gradle build layer.
2019-12-02 15:34:57 +01:00