build: exclude Kotlin standard library dependencies from minimizing

This commit is contained in:
oSumAtrIX 2022-12-15 12:44:05 +01:00
parent 7d1f200621
commit 4e53638cb9
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4
1 changed files with 3 additions and 1 deletions

View File

@ -41,7 +41,9 @@ tasks {
manifest {
attributes("Main-Class" to "app.revanced.cli.main.MainKt")
}
minimize()
minimize {
exclude(dependency("org.jetbrains.kotlin:.*"))
}
}
// Dummy task to fix the Gradle semantic-release plugin.
// Remove this if you forked it to support building only.