Skip to content

Commit 452d1e9

Browse files
committed
Make build-public.gradle only output the shadow jar
GitOrigin-RevId: 9a4ad3a21a02c3aa75e05e6cfbceb78759731ce9
1 parent 0988e13 commit 452d1e9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ version = '1.12-1-' + gitVersion()
7474
description = 'ShowScript'
7575
java.sourceCompatibility = JavaVersion.VERSION_1_8
7676
archivesBaseName = 'ShowScript'
77-
jar.archiveFileName = "ShowScript.jar"
78-
shadowJar.archiveFileName = "ShowScript-all.jar"
79-
77+
shadowJar.archiveFileName = "ShowScript.jar"
78+
build.dependsOn(shadowJar)
79+
jar.enabled = false
8080

8181
publishing {
8282
publications {
@@ -95,3 +95,4 @@ publishing {
9595
}
9696
}
9797
}
98+

0 commit comments

Comments
 (0)