Skip to content

Commit

Permalink
build: Force change the jar name
Browse files Browse the repository at this point in the history
  • Loading branch information
utfunderscore committed May 31, 2024
1 parent 79760dd commit 14a3c19
Showing 1 changed file with 14 additions and 19 deletions.
33 changes: 14 additions & 19 deletions Core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,6 @@ publishing {
}
}

tasks.compileJava {
options.compilerArgs.add("-parameters")
}

tasks.shadowJar {
archiveFileName.set("MinigameFramework.jar")
}


dependencies {

paperweight.paperDevBundle("1.20.4-R0.1-SNAPSHOT")
Expand All @@ -57,8 +48,6 @@ dependencies {
compileOnly("com.fastasyncworldedit:FastAsyncWorldEdit-Core")
compileOnly("com.fastasyncworldedit:FastAsyncWorldEdit-Bukkit")



testImplementation(platform("org.junit:junit-bom:5.9.1"))
testImplementation("org.junit.jupiter:junit-jupiter")

Expand All @@ -72,18 +61,24 @@ dependencies {

}

tasks {
test {
useJUnitPlatform()
}
shadowJar {
relocate("fr.mrmicky.fastboard", "com.readutf.inari.core")
archiveFileName.set("MinigameFramework.jar")
}

compileJava {
options.compilerArgs.add("-parameters")
}
}

java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}

tasks.test {
useJUnitPlatform()
}

tasks.shadowJar {
relocate("fr.mrmicky.fastboard", "com.readutf.inari.core")
}

0 comments on commit 14a3c19

Please sign in to comment.