Commit graph

68 commits

Author SHA1 Message Date
Rene Groeschke
eb0e1ad3e2
Update Gradle wrapper to 8.7 (#105854) (#106722)
removed tiny issue on build script that seems like an oversight and doesn't do anything at all

(cherry picked from commit c15f727f2d)

# Conflicts:
#	x-pack/plugin/ent-search/build.gradle
2024-03-26 08:33:29 +01:00
Mark Vieira
d1117aeb3e
Update Gradle wrapper to 8.6 (#103796) (#105466)
Co-authored-by: Rene Groeschke <rene@elastic.co>
2024-02-13 15:14:48 -05:00
Rene Groeschke
5661f5fbd0
[7.17] Update gradle wrapper to 8.5 (#102154) (#102816)
* Update gradle wrapper to 8.5 (#102154)

Update BuildLayout references

* Remove non existent project
2023-11-30 15:03:30 -05:00
Rene Groeschke
468bef1b9e
[7.17] Update gradle wrapper to 8.4 (#99856) (#100926)
* Remove deprecated forConfigurationTime usage
2023-10-17 13:44:48 +02:00
Rene Groeschke
a080bb2bbe
[7.17] Update gradle wrapper to 8.3 (#97838) (#100715)
* Update gradle wrapper to 8.3 (#97838)

Gradle now fully supports compiling, testing and running on Java 20.
Among other general performance improvements this release introduces --test-dry-run command line option that allows checking if tests are filtered or not by gradle.
Required updating nebula ospackage plugin as setuid was broken in gradle 8.3.

(cherry picked from commit b23e000c30)

# Conflicts:
#	build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/LegacyYamlRestCompatTestPluginFuncTest.groovy
#	build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchJavaModulePathPlugin.java
#	build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/compat/compat/AbstractYamlRestCompatTestPlugin.java
#	build-tools-internal/src/main/resources/minimumGradleVersion
#	gradle/verification-metadata.xml
#	gradle/wrapper/gradle-wrapper.jar
#	gradlew
#	x-pack/plugin/watcher/qa/with-monitoring/src/javaRestTest/java/org/elasticsearch/smoketest/MonitoringWithWatcherRestIT.java

* [7.17] Use patched nebula os package gradle plugin

* Update testingconvention precommit integ test
2023-10-16 06:18:08 -04:00
Rene Groeschke
5afd06ae57
[7.17] Update Gradle Wrapper to 8.2 (#96686) (#97484)
* Update Gradle Wrapper to 8.2 (#96686)

- Convention usage has been deprecated and was fixed in our build files
- Fix test dependencies and deprecation
2023-09-27 08:46:44 +02:00
Rene Groeschke
1744a57312
Revert "[7.17] Update to Gradle 7.6 (#89796) (#92235)"
This reverts commit fc43f0105c.
2022-12-20 12:30:21 +01:00
Rene Groeschke
fc43f0105c
[7.17] Update to Gradle 7.6 (#89796) (#92235)
* Fix TestResultProcessor api changes
* Fix inputs for generateProviderManifest
* Ignore tests for now until gradle has fixed reporting issue
* Fix dependency substitution in example plugins build
* Use right java bin path on windows
* Add hint to task onlyif when no docker is available
2022-12-08 16:48:35 +01:00
Mark Vieira
1b61bd19b9
Upgrade Gradle wrapper to 7.5.1 (#88918) (#89180) 2022-08-09 06:03:11 +09:30
Rene Groeschke
e1979fe81b
Update to to Gradle wrapper 7.5 (#85141) (#88595)
Backports the following commits to 7.17:
 - Update to to Gradle wrapper 7.5 (#85141)
2022-07-19 11:33:32 +02:00
Rene Groeschke
a7599927f6
Update gradle wrapper to 7.4.2 (#85608) (#85620) 2022-04-01 17:53:44 +02:00
Mark Vieira
840f02042d
Update Gradle wrapper to 7.4.1 (#84841) (#84884) 2022-03-10 13:13:41 -05:00
Rene Groeschke
2d6d830c86
Update gradle wrapper to 7.4 (#81963) (#83886)
* Make ForbiddenApisPrecommitPlugin plugin Gradle 8.0 compatible
* Fix deprecations on ignoring empty folders for task inputs
* Update Gradle wrapper to 7.4 GA
2022-02-15 11:15:54 +01:00
Rene Groeschke
41a6e2f785
Update gradle wrapper to 7.3.3 (#82057) (#82061)
Keep gradle version up to date
2021-12-23 07:47:43 -05:00
Rene Groeschke
b1271c4352
Update gradle wrappers to 7.3.2 (#81798) (#81861)
Keep our build up to date with latest gradle releases
2021-12-19 18:07:01 +01:00
Rene Groeschke
ebd64547f7
Update gradle version to bugfix version 7.3.1 (#81243) (#81288) 2021-12-03 03:44:05 -05:00
Mark Vieira
89bcde3540
Update Gradle wrapper to 7.3 (#80633) (#80642) 2021-11-10 17:45:26 -05:00
Rene Groeschke
3bbb2af1a3
Update Gradle wrapper to 7.2 (7.x backport) (#76660)
* Update Gradle wrapper to 7.2 (#75894)
2021-08-18 20:50:20 +02:00
elasticsearchmachine
840a5f429f
Updating Gradle wrapper to version 7.1.1 (#74886) (#74894)
Co-authored-by: Rene Groeschke <rene@elastic.co>
2021-07-08 12:57:29 +02:00
Rene Groeschke
ea25762038
Update wrapper to 7.1 (#73941) (#74225)
- Fix new introduced deprecated usages
- Update to newer ospackage snapshot to include provided PR for fixing deprecated usage

This gradle release comes with improvements on incremental compilation which we should benefit from
2021-06-17 17:01:21 +02:00
Rene Groeschke
60597c5829
Update Gradle wrapper to 7.0.2 (#73120) (#73122)
Keep Gradle wrapper up to date
2021-05-15 00:11:23 +02:00
Mark Vieira
1966ec4be7
Upgrade Gradle wrapper to 7.0.1 (#72898) (#72901) 2021-05-10 17:28:56 -07:00
Rene Groeschke
a6c45948e2
Update build to Gradle 7.0 (7.x back porting) (#68506) (#71613)
- Update gradle wrapper to gradle 7.0
- Remove deprecated usages to make build 7.0 compatible
- Fix excludes in docs snippet tasks (See https://github.com/gradle/gradle/issues/16160 for details)
- Fix deprecation warnings in 7.0
- Add explicit dependencies that have been missed
- Make extract native licenses tasks output dir more explicit
- Use a snapshot of the ospackage plugin that includes a fix for 7.0 already
- fix test runtime classpath setup in repository-hdfs
- Make task dependency explicit to fix further deprecation warnings
- Remove manual check for http repo usages that has been deprecated in gradle 7.0
- Update spock to latest 2.0 milestone required for groovy 3

- Disable module inference in Eclipse (#71649)

We recently upgrade to gradle 7.0 (#69096) which turned on module
inference by default. I'm sure that's lovely, but its broken eclipse. We
should probably support modules one day, but that day ain't today. This
turns off module inference for eclipse so it can continue compiling
things just like it did yesterday.

Co-authored-by: Nik Everett <nik9000@gmail.com>
2021-04-14 13:16:07 +02:00
Rene Groeschke
bb38dc50f7
Update gradle wrapper to 6.8.3 (#69412) (#69458) 2021-02-24 10:54:28 +01:00
Rene Groeschke
fa67ee83ea
Update Gradle wrapper to 6.8.2 (#68618)
Fixing a performance regression in 6.8
2021-02-07 19:02:51 +01:00
Rene Groeschke
92377cdcd5
Update gradle wrapper to 6.8.1 (#68206) (#68349)
Update gradle wrapper to 6.8.1

Co-authored-by: Rafael Acevedo <rafael.acevedo@inlocomedia.com>
2021-02-02 14:55:19 +01:00
Rene Groeschke
510e4514e0
Update build to use gradle wrapper 6.8 (7.x backport) (#67327)
- 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
- Fix runtime jdk vendor detection used in fips.gradle (#67417)
- Allow Current JDK as valid installation without requiring ENV setup (#67411)

Co-authored-by: Mark Vieira <portugee@gmail.com>
2021-01-18 10:44:34 +01:00
Rene Groeschke
d84491efca
Fix gradle downgrade to 6.6.1 (#64316) (#64330) 2020-10-29 12:53:18 +01:00
Rene Groeschke
a2de34e680
Update gradle wrapper to Gradle 6.7 (7.x backport) (#63909)
- Ignore Memory Manager thread in Gradle thread filter
- Update gradle wrapper to 6.7 GA release
- Fix deprecation: Instead of depending on a configuration, a configuration should extend that one
2020-10-22 09:41:50 +02:00
Rene Groeschke
fa7f1cc979
Update gradle wrapper to 6.6.1 (#61571) (#61579) 2020-08-27 14:16:53 +02:00
Rene Groeschke
a5ef38ca40
Update gradle wrapper to 6.6 (#59909) (#60949) 2020-08-11 11:03:19 +02:00
Rene Groeschke
5226fef321 Update Gradle wrapper to 6.5 (#57580) (#57653)
* Update Gradle wrapper to 6.5
* Fix groovy incompatibility issue after gradle update
* Fix Gstring String incompatibility
2020-06-12 08:38:16 +02:00
Rene Groeschke
2c2d903277 Revert "Update Gradle wrapper to 6.5 (#57580)"
This reverts commit b7e39dd1c8.
2020-06-04 11:01:11 +02:00
Rene Groeschke
b7e39dd1c8 Update Gradle wrapper to 6.5 (#57580)
* Update Gradle wrapper to 6.5
* Fix groovy incompatibility issue after gradle update
* Fix Gstring String incompatibility
2020-06-04 10:34:11 +02:00
Rene Groeschke
b21330b00c Update gradle wrapper to 6.4.1 (#56881) 2020-05-18 17:14:55 +02:00
Mark Vieira
91cba091ed
Update Gradle wrapper to 6.4 (#55338) 2020-05-06 14:53:53 -07:00
Mark Vieira
6e2ec94086
Upgrade to Gradle 6.3 (#53499) 2020-03-25 15:07:08 -07:00
Mark Vieira
8851fb2a08
Upgrade to Gradle 6.2.2 (#53136) 2020-03-05 09:27:03 -08:00
Mark Vieira
ac654692d4
Upgrade to Gradle 6.2.1 (#52732) 2020-02-24 16:34:53 -08:00
Mark Vieira
a99d8b71b1
Upgrade to Gradle 6.2 (#51824) 2020-02-18 15:35:23 -08:00
Rafael Acevedo
3eae601b0b
Upgrade gradle to 6.1.1 (#51460) 2020-01-27 11:25:05 -08:00
Mark Vieira
fac509836a
Upgrade to Gradle 6.1 (#50453)
(cherry picked from commit bdd7bda47b)
2020-01-16 13:58:29 -08:00
Mark Vieira
d3cf89b563
Upgrade to Gradle 6.0 (#49211) (#49994)
This upgrade required a few significant changes. Firstly, the build
scan plugin has been renamed, and changed to be a Settings plugin rather
than a project plugin so the declaration of this has moved to our
settings.gradle file. Second, we were using a rather old version of the
Nebula ospackage plugin for building deb and rpm packages, the migration
to the latest version required some updates to get things working as
expected as we had some workarounds in place that are no longer
applicable with the latest bug fixes.

(cherry picked from commit 87f9c16e2f)
2019-12-09 11:34:35 -08:00
Rafael Acevedo
eb0d8f3383 update gradle to 5.6.4 (#48872) 2019-11-11 15:30:31 +02:00
Alpar Torok
d004a560df Upgrade to Gradle 5.6.3 (#48235)
This PR upgrades to [5.6.3](https://github.com/gradle/gradle/releases/tag/v5.6.3).
Nothing particualrily of interest for us, just keeping up to date.
2019-10-29 14:48:03 +02:00
Alpar Torok
9229b87bd2 Upgrade to Gradle 5.6 (#45005)
* Upgrade to Gradle 5.6.2
2019-09-12 16:18:41 +03:00
Mark Vieira
b5d47e5643
Upgrade to Gradle 5.5 (#43788) (#43832) 2019-07-01 11:54:58 -07:00
Alpar Torok
a48b402e90 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:16:11 +03:00
Alpar Torok
d50305bbee Upgrade to Gradle 5.3! (#40346)
Here are the highlights of this release:
 - Feature variants AKA "optional dependencies"
 - Type-safe accessors in Kotlin precompiled script plugins
 - Gradle Module Metadata 1.0

For more details see https://docs.gradle.org/5.3/release-notes.html
2019-03-26 13:23:40 +02:00
Alpar Torok
eb7da4b90d Upgrade to Gradle 5.2.1 (#38880) 2019-02-15 15:15:43 +02:00