From feab5a42c21f086878758037a1cf708a90b7f094 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20Ruiz=20Becerra?= Date: Mon, 10 Nov 2025 11:48:11 +0100 Subject: [PATCH] Upgrade to Gradle 8.14.3 (#649) * Upgrade to Gradle 8.14.3 * Change broken sonatype link for new snapshot bucket --------- Co-authored-by: Jorge Sanchez --- CHANGELOG.md | 2 +- gradle/wrapper/gradle-wrapper.properties | 3 ++- plugins/setup/build.gradle | 7 +++---- plugins/setup/gradle/wrapper/gradle-wrapper.properties | 6 ++++-- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cf7fb5e2..3a1dde20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,7 +32,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Add Security Compliance fields to the WCS [(#643)](https://github.com/wazuh/wazuh-indexer-plugins/pull/643) ### Dependencies -- +- Upgrade to Gradle 8.14.3 [(#649)](https://github.com/wazuh/wazuh-indexer-plugins/pull/649) ### Changed - Replace dependabot's directories keys with wildcard [(#443)](https://github.com/wazuh/wazuh-indexer-plugins/pull/443) diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index df97d72b..dbc089ed 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,7 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip +distributionSha256Sum=ed1a8d686605fd7c23bdf62c7fc7add1c5b23b2bbc3721e661934ef4a4911d7c +distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-all.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/plugins/setup/build.gradle b/plugins/setup/build.gradle index a471a15d..53a909c7 100644 --- a/plugins/setup/build.gradle +++ b/plugins/setup/build.gradle @@ -3,7 +3,7 @@ import java.util.concurrent.Callable buildscript { ext { - opensearch_version = System.getProperty("opensearch.version", "3.3.2") + opensearch_version = System.getProperty("opensearch.version", "3.3.2-SNAPSHOT") opensearch_build = opensearch_version.replace("-SNAPSHOT","") + ".0" wazuh_version = System.getProperty("version", "5.0.0") revision = System.getProperty("revision", "0") @@ -11,13 +11,12 @@ buildscript { repositories { mavenLocal() - maven { url "https://aws.oss.sonatype.org/content/repositories/snapshots" } + maven { url "https://ci.opensearch.org/ci/dbc/snapshots/maven/" } mavenCentral() maven { url "https://plugins.gradle.org/m2/" } } dependencies { - classpath "org.opensearch.gradle:build-tools:${opensearch_version.replace('-SNAPSHOT', '')}" classpath "org.opensearch.gradle:build-tools:${opensearch_version}" } } @@ -104,7 +103,7 @@ dependencyLicenses.enabled = false repositories { mavenLocal() - maven { url "https://aws.oss.sonatype.org/content/repositories/snapshots" } + maven { url "https://ci.opensearch.org/ci/dbc/snapshots/maven/" } mavenCentral() maven { url "https://plugins.gradle.org/m2/" } } diff --git a/plugins/setup/gradle/wrapper/gradle-wrapper.properties b/plugins/setup/gradle/wrapper/gradle-wrapper.properties index 0ac3219d..3a6adf02 100644 --- a/plugins/setup/gradle/wrapper/gradle-wrapper.properties +++ b/plugins/setup/gradle/wrapper/gradle-wrapper.properties @@ -15,7 +15,9 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-all.zip +distributionSha256Sum=ed1a8d686605fd7c23bdf62c7fc7add1c5b23b2bbc3721e661934ef4a4911d7c +distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-all.zip +networkTimeout=10000 +validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionSha256Sum=682b4df7fe5accdca84a4d1ef6a3a6ab096b3efd5edf7de2bd8c758d95a93703 \ No newline at end of file