Skip to content

Commit

Permalink
Merge pull request #935 from rafi67000/gradleUpdate
Browse files Browse the repository at this point in the history
Gradle, and shadow update
  • Loading branch information
booky10 committed Aug 29, 2024
2 parents fd7bc84 + a2d259a commit dc015dc
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ext["versionNoHash"] = "$fullVersion${getVersionMeta(false)}"

tasks {
wrapper {
gradleVersion = "8.8"
gradleVersion = "8.10"
distributionType = Wrapper.DistributionType.ALL
}

Expand Down
4 changes: 2 additions & 2 deletions buildSrc/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[versions]
shadow = "8.1.8"
shadow = "8.3.0"
jetbrains-annotations = "23.0.0"
via-nbt = "4.1.0"
fast-util = "8.5.6"
gson = "2.8.9"
java-diff-utils = "4.12"

[libraries]
shadow = { group = "io.github.goooler.shadow", name = "shadow-gradle-plugin", version.ref = "shadow" }
shadow = { group = "com.gradleup.shadow", name = "shadow-gradle-plugin", version.ref = "shadow" }
jetbrains-annotations = { group = "org.jetbrains", name = "annotations", version.ref = "jetbrains-annotations" }
via-nbt = { group = "com.viaversion", name = "nbt", version.ref = "via-nbt" }
fast-util = { group = "it.unimi.dsi", name = "fastutil", version.ref = "fast-util" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repositories {
maven("https://oss.sonatype.org/content/groups/public/")
}

val isShadow = project.pluginManager.hasPlugin("io.github.goooler.shadow")
val isShadow = project.pluginManager.hasPlugin("com.gradleup.shadow")

dependencies {
compileOnly("org.jetbrains:annotations:23.0.0")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
`java-library`
io.github.goooler.shadow
com.gradleup.shadow
}

group = rootProject.group
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar

plugins {
java
io.github.goooler.shadow
com.gradleup.shadow
}

tasks {
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
5 changes: 4 additions & 1 deletion gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#

##############################################################################
#
Expand Down Expand Up @@ -84,7 +86,8 @@ done
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
' "$PWD" ) || exit

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
Expand Down
2 changes: 2 additions & 0 deletions gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
@rem SPDX-License-Identifier: Apache-2.0
@rem

@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
Expand Down

0 comments on commit dc015dc

Please sign in to comment.