Skip to content

Commit

Permalink
Update shadow plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew121410 committed Aug 9, 2024
1 parent 2338e71 commit cbd0269
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import java.text.SimpleDateFormat
import java.util.*

plugins {
// id("com.github.johnrengelman.shadow") version "8.1.1" // https://github.com/johnrengelman/shadow
id("io.github.goooler.shadow") version "8.1.7" // https://github.com/johnrengelman/shadow/pull/876 https://github.com/Goooler/shadow https://plugins.gradle.org/plugin/io.github.goooler.shadow
id("com.gradleup.shadow") version "8.3.0" // https://github.com/GradleUp/shadow
id("net.kyori.blossom") version "2.1.0" // https://github.com/KyoriPowered/blossom
`java-library`
`maven-publish`
Expand Down Expand Up @@ -31,8 +30,15 @@ tasks {
}

shadowJar {
// Since we don't need to publish the shadow jar, we can just set the archiveFileName
archiveFileName.set("World1-6Essentials.jar")

// If we want to publish the shadow jar in the future, you can use the following code.
// Yes all three of these are needed for JitPack to work.
// archiveBaseName.set("World1-6Essentials")
// archiveClassifier.set("")
// archiveVersion.set("")

relocate("org.bstats", "com.andrew121410.mc.world16essentials.bstats")
}
}
Expand Down

0 comments on commit cbd0269

Please sign in to comment.