Upgrade Gradle to 8.10.2 and upgrade plugins

com.github.johnrengelman.shadow is now com.gradleup.shadow (note the
redirect)
https://github.com/johnrengelman/shadow/releases/tag/8.3.0
This commit is contained in:
Eric Anderson 2024-10-29 14:16:45 -07:00
parent 766b92379b
commit 3562380da5
10 changed files with 15 additions and 13 deletions

View File

@ -2,8 +2,8 @@ plugins {
id "java-library"
id "maven-publish"
id "com.github.johnrengelman.shadow"
id "com.google.protobuf"
id "com.gradleup.shadow"
id "ru.vyarus.animalsniffer"
}

View File

@ -2,8 +2,8 @@ plugins {
id "java-library"
id "maven-publish"
id "com.github.johnrengelman.shadow"
id "com.google.protobuf"
id "com.gradleup.shadow"
id "ru.vyarus.animalsniffer"
}

View File

@ -311,7 +311,7 @@ subprojects {
}
}
plugins.withId("com.github.johnrengelman.shadow") {
plugins.withId("com.gradleup.shadow") {
tasks.named("shadowJar").configure {
// Do a dance to remove Class-Path. This needs to run after the doFirst() from the
// shadow plugin that adds Class-Path and before the core jar action. Using doFirst will

View File

@ -3,7 +3,7 @@ plugins {
id 'java'
id "com.google.protobuf" version "0.9.4"
id 'com.google.cloud.tools.jib' version '3.4.3' // For releasing to Docker Hub
id 'com.google.cloud.tools.jib' version '3.4.4' // For releasing to Docker Hub
}
repositories {

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View File

@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME

View File

@ -9,7 +9,7 @@ plugins {
id "java"
id "maven-publish"
id "com.github.johnrengelman.shadow"
id "com.gradleup.shadow"
id "ru.vyarus.animalsniffer"
}

View File

@ -2,9 +2,9 @@ plugins {
id "java-library"
id "maven-publish"
id "com.github.johnrengelman.shadow"
id "com.google.osdetector"
id "com.google.protobuf"
id "com.gradleup.shadow"
id "ru.vyarus.animalsniffer"
}

View File

@ -4,24 +4,26 @@ pluginManagement {
// 8+ has many changes: https://github.com/grpc/grpc-java/issues/10152
id "com.android.application" version "7.4.1"
id "com.android.library" version "7.4.1"
// https://github.com/johnrengelman/shadow/releases
id "com.github.johnrengelman.shadow" version "8.1.1"
// https://github.com/kt3k/coveralls-gradle-plugin/tags
id "com.github.kt3k.coveralls" version "2.12.2"
// https://github.com/GoogleCloudPlatform/appengine-plugins/releases
id "com.google.cloud.tools.appengine" version "2.8.0"
// https://github.com/GoogleContainerTools/jib/blob/master/jib-gradle-plugin/CHANGELOG.md
id "com.google.cloud.tools.jib" version "3.4.3"
id "com.google.cloud.tools.jib" version "3.4.4"
// https://github.com/google/osdetector-gradle-plugin/tags
id "com.google.osdetector" version "1.7.3"
// https://github.com/google/protobuf-gradle-plugin/releases
id "com.google.protobuf" version "0.9.4"
// https://github.com/GradleUp/shadow/releases
// 8.3.2+ requires Java 11+
// 8.3.1 breaks apache imports for netty/shaded, fixed in 8.3.2
id "com.gradleup.shadow" version "8.3.0"
// https://github.com/melix/japicmp-gradle-plugin/blob/master/CHANGELOG.txt
id "me.champeau.gradle.japicmp" version "0.4.2"
// https://github.com/melix/jmh-gradle-plugin/releases
id "me.champeau.jmh" version "0.7.2"
// https://github.com/tbroyer/gradle-errorprone-plugin/releases
id "net.ltgt.errorprone" version "4.0.1"
id "net.ltgt.errorprone" version "4.1.0"
// https://github.com/xvik/gradle-animalsniffer-plugin/releases
id "ru.vyarus.animalsniffer" version "1.7.1"
}

View File

@ -4,8 +4,8 @@ plugins {
id "java"
id "maven-publish"
id "com.github.johnrengelman.shadow"
id "com.google.protobuf"
id "com.gradleup.shadow"
id "ru.vyarus.animalsniffer"
}