Skip to content

Commit

Permalink
Switched: johnrengelman shadow to googler's shadowjar for Java 21 sup…
Browse files Browse the repository at this point in the history
…port (See GradleUp/shadow#908)
  • Loading branch information
Bram1903 committed Jul 4, 2024
1 parent f78ffc9 commit 750d879
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
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.1"
shadow = "8.1.8"
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 = "com.github.johnrengelman", name = "shadow", version.ref = "shadow" }
shadow = { group = "io.github.goooler.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
@@ -1,6 +1,6 @@
plugins {
`java-library`
com.github.johnrengelman.shadow
io.github.goooler.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
com.github.johnrengelman.shadow
io.github.goooler.shadow
}

tasks {
Expand Down
6 changes: 3 additions & 3 deletions fabric/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ org.gradle.parallel=true

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.20.4
parchment_mappings=2024.04.14
parchment_minecraft_version=1.20.4
minecraft_version=1.21
parchment_mappings=2024.06.23
parchment_minecraft_version=1.21
loader_version=0.15.11

# Mod Properties
Expand Down

0 comments on commit 750d879

Please sign in to comment.