Commit Graph

24 Commits

Author SHA1 Message Date
Rene Groeschke 0b03f694a3
Fix Spotless failing with InvocationTargetException on JDK 16 (#73246) 2021-05-20 08:46:20 +02:00
Przemyslaw Gomulka b0a0d56bbe
Update joda dependency to latest 2.10.10 (#72052)
Latest JDKs are shipping with timezone data 2021a which is also included
in latest joda. In order to have the timezone information consistent in
both joda and java.time joda dependnecy has to be updated

closes #72028
2021-04-29 09:59:28 +02:00
Mark Vieira b26fa7067f
Improve error messages around detecting Java installations (#70166) 2021-03-09 10:28:23 -08:00
Rene Groeschke a8757f9efe
Update build to use gradle wrapper 6.8 (#65596)
- Updates our build to use the latest Gradle 6.8 release which is the last release 
before the major 7.0 release. 
- Resolve available gradle versions using built-in toolchain support
- Fixes deprecated usage of JavaInstallationRegistry
- We replace jdk handling in our build to rely on jvm detection provided by the gradle build tool itself. 
As we rely on environment variables pointing to jdks we wire this into the gradle jdk detection mechanism
2021-01-12 11:38:29 +01:00
Rene Groeschke 0e0392ca7b
Explicitly use TLS 1.2 in Gradle (#63880) 2020-10-19 08:52:48 -07:00
Mark Vieira 5197043c41
Use default memory settings for Gradle daemon (#63445) 2020-10-08 10:31:32 -07:00
Rene Groeschke 5c4a3ec987
Enforce fail on deprecated gradle usage (#59598) 2020-07-16 10:28:27 +02:00
Mark Vieira 630fc0d255
Enable parallel builds by default (#52972) 2020-02-28 15:08:13 -08:00
Mark Vieira e057f65a7d
Disable duplicate project detection in Gradle 6.2 (#52529) 2020-02-19 13:41:50 -08:00
Mark Vieira cd2fc978f2
Suppress Gradle deprecation warnings in the console output (#52332) 2020-02-19 09:05:39 -08:00
Alpar Torok a3d33677fa
Testclusters: improove timeout handling (#43440) 2019-07-01 11:29:54 +03:00
Alpar Torok 41d59954c1
Upgrade to Gradle 5.4.1 (#41750)
* Upgrade to Gradle 5.4.1

https://docs.gradle.org/5.4/release-notes.html

Notable: Support for JDK12 , API for incremental tasks

* Use newer version of checkstyle

* Increase stack size
2019-05-09 10:12:30 +03:00
Mark Vieira c0e2c6b31f Create heap dump on OOME (#41031) 2019-04-11 13:38:12 +03:00
Alpar Torok adc3816e32
Enable the Gradle daemon (#34545) 2018-10-20 11:14:41 +03:00
Jay Modi 309fb22181
Build: forked compiler max memory matches jvmArgs (#33138)
This commit removes the setting of the fork options maximum memory size
in our build plugin and instead adds the value in the gradle.properties
file to be alongside the value set in jvmArgs.

This change is necessary when using parallel compilation as 512m is not
sufficient for parallel compilation on some machines.
2018-08-27 10:26:25 -06:00
Jason Tedor 07b962f31a
Bump Gradle heap to 2 GB (#30535)
We are still seeing rare failures with the Gradle heap set to 1792m,
especially on machines with high core count. Given it appears we are
close to the needed threshold, this commit bumps the heap one more time
to 2 GB.
2018-05-11 14:30:36 -04:00
Jason Tedor b33806ed15
Bump Gradle heap to 1792m (#30484)
After we stopped forking the compiler, some folks are running into out
of memory errors. This commit is a bump to the Gradle heap to workaround
these out of memory errors (until we can better understand their
source).
2018-05-09 14:29:29 -04:00
Jason Tedor 8b2eee39f0 Increase Gradle heap space to 1536m
This commit increases the heap space for the Gradle processes to
1536m. Note that the default is 1024m.
2017-12-19 21:45:43 -05:00
Jason Tedor 2f95e4a86c Gradle daemon is a demon
This commit adds a property that will prevent the Gradle daemon from
being used for builds (even if one is running). This is to avoid some
nasty issues (e.g., SIGBUS faults and other mmap diasters) that result
from class loaders not being closed properly.
2015-11-25 09:33:12 -05:00
Ryan Ernst 7a6155e12f Build: Consolidate dependencies specified in multiple places
Some dependencies must be specified in a couple places in the build.
e.g. randomized runner is specified both in buildSrc (for the gradle
wrapper plugin), as well as in the test-framework.

This change creates buildSrc/versions.properties which acts similar to
the set of shared version properties we used to have in the maven parent
pom.
2015-11-09 23:59:56 -08:00
Adrien Grand d6d7af0a6c Upgrade to lucene-5.4.0-snapshot-1712973. 2015-11-09 15:53:27 +01:00
Areek Zillur 13b60e1b92 update to lucene-5.4.x-snapshot-1711508 2015-10-30 15:42:02 -04:00
Ryan Ernst 561436eba3 Build: Add back manifest info to jars
closes #14365
2015-10-29 13:59:52 -07:00
Ryan Ernst c86100f636 Switch build system to Gradle
See #13930
2015-10-29 11:40:19 -07:00