Remove a few line in the main build.gradle.kts file
This commit is contained in:
parent
cf75e7be39
commit
b5fe315810
|
@ -31,10 +31,7 @@ subprojects {
|
||||||
tasks {
|
tasks {
|
||||||
withType(ShadowJar::class) { this.configurations = listOf(shadowC) }
|
withType(ShadowJar::class) { this.configurations = listOf(shadowC) }
|
||||||
val shrinkJar = register("shrinkJar", proguard.gradle.ProGuardTask::class) {
|
val shrinkJar = register("shrinkJar", proguard.gradle.ProGuardTask::class) {
|
||||||
injars(
|
injars(this@tasks.getByName("remapJar"))
|
||||||
this@tasks.getByName("remapJar")
|
|
||||||
)
|
|
||||||
libraryjars("<java.home>/lib/rt.jar")
|
|
||||||
outjars("$rootDir/shrinkedJars/")
|
outjars("$rootDir/shrinkedJars/")
|
||||||
keep("class fr.username404.snowygui.** { * ; }")
|
keep("class fr.username404.snowygui.** { * ; }")
|
||||||
keepattributes(); keepdirectories(); keeppackagenames(); keepparameternames()
|
keepattributes(); keepdirectories(); keeppackagenames(); keepparameternames()
|
||||||
|
|
Loading…
Reference in New Issue