Skip to content

Commit

Permalink
Update Gradle to 8.10
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexRuiz7 committed Sep 13, 2024
1 parent 3827847 commit b6150a0
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 21 deletions.
26 changes: 13 additions & 13 deletions plugins/command-manager/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@ publishing {
publications {
pluginZip(MavenPublication) { publication ->
pom {
name = pluginName
description = pluginDescription
licenses {
license {
name = "The Apache License, Version 2.0"
url = "http://www.apache.org/licenses/LICENSE-2.0.txt"
name = pluginName
description = pluginDescription
licenses {
license {
name = "The Apache License, Version 2.0"
url = "http://www.apache.org/licenses/LICENSE-2.0.txt"
}
}
}
developers {
developer {
name = "Wazuh"
url = "https://wazuh.com"
developers {
developer {
name = "Wazuh"
url = "https://wazuh.com"
}
}
}
}
}
}
Expand Down Expand Up @@ -119,7 +119,7 @@ task updateVersion {
ext.newVersion = System.getProperty('newVersion')
println "Setting version to ${newVersion}."
// String tokenization to support -SNAPSHOT
ant.replaceregexp(file:'build.gradle', match: '"opensearch.version", "\\d.*"', replace: '"opensearch.version", "' + newVersion.tokenize('-')[0] + '-SNAPSHOT"', flags:'g', byline:true)
ant.replaceregexp(file: 'build.gradle', match: '"opensearch.version", "\\d.*"', replace: '"opensearch.version", "' + newVersion.tokenize('-')[0] + '-SNAPSHOT"', flags: 'g', byline: true)
}
}

8 changes: 2 additions & 6 deletions plugins/setup/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ publishing {
}
developers {
developer {
name = "Wazuh "
name = "Wazuh"
url = "https://wazuh.com"
}
}
Expand All @@ -39,6 +39,7 @@ publishing {

allprojects {
group = "${projectPath}"
version = "${wazuh_version}" + ".${revision}"
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_11
}
Expand Down Expand Up @@ -76,11 +77,6 @@ buildscript {
}
}

allprojects {
group = 'org.wazuh'
version = "${wazuh_version}" + ".${revision}"
}

repositories {
mavenLocal()
maven { url "https://aws.oss.sonatype.org/content/repositories/snapshots" }
Expand Down
4 changes: 2 additions & 2 deletions plugins/setup/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionSha256Sum=194717442575a6f96e1c1befa2c30e9a4fc90f701d7aee33eb879b79e7ff05c0
distributionSha256Sum=682b4df7fe5accdca84a4d1ef6a3a6ab096b3efd5edf7de2bd8c758d95a93703

0 comments on commit b6150a0

Please sign in to comment.