Skip to content

Commit a231ee2

Browse files
committed
Change output jar name
1 parent 264533b commit a231ee2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ tasks.withType(JavaCompile) {
3232
shadowJar {
3333
minimize()
3434
archiveClassifier.set("")
35+
archiveFileName.set(project.name + ".jar")
36+
}
37+
38+
jar {
39+
archiveFileName.set(project.name + ".jar")
40+
3541
}
3642

3743
import com.github.jengelman.gradle.plugins.shadow.tasks.ConfigureShadowRelocation

0 commit comments

Comments
 (0)