Remove a few line in the main build.gradle.kts file

This commit is contained in:
Username404-59 2021-04-14 14:34:45 +02:00
parent cf75e7be39
commit b5fe315810
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 4 deletions

View File

@ -31,10 +31,7 @@ subprojects {
tasks {
withType(ShadowJar::class) { this.configurations = listOf(shadowC) }
val shrinkJar = register("shrinkJar", proguard.gradle.ProGuardTask::class) {
injars(
this@tasks.getByName("remapJar")
)
libraryjars("<java.home>/lib/rt.jar")
injars(this@tasks.getByName("remapJar"))
outjars("$rootDir/shrinkedJars/")
keep("class fr.username404.snowygui.** { * ; }")
keepattributes(); keepdirectories(); keeppackagenames(); keepparameternames()