Update build.gradle.kts
This commit is contained in:
parent
e56a5c6f8d
commit
3bb4fa8b0f
|
|
@ -38,22 +38,18 @@ tasks {
|
|||
}
|
||||
}
|
||||
|
||||
// create<ConfigureShadowRelocation>("relocateJars") {
|
||||
// target = shadowJar.get()
|
||||
// prefix = "${project.name}.lib"
|
||||
// }
|
||||
//
|
||||
// shadowJar {
|
||||
// dependsOn(getByName("relocateJars") as ConfigureShadowRelocation)
|
||||
// archiveFileName.set("${project.name}-${project.version}.jar")
|
||||
// minimize()
|
||||
// configurations = listOf(project.configurations.shadow.get())
|
||||
// }
|
||||
//
|
||||
shadowJar {
|
||||
archiveFileName.set(rootProject.name + ".jar")
|
||||
}
|
||||
|
||||
build {
|
||||
dependsOn(shadowJar)
|
||||
}
|
||||
|
||||
jar {
|
||||
enabled = false
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user