-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ProGuard Gradle Plugin Throws an Exception When Outputting All Obfuscated Jars (outjars) to a Single Directory #442
Comments
With Gradle 8.10.2, ProGuard 7.6.0, and
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
proguard-outjars-error
The attached reproducer project (also located on GitHub here) uses the ProGuard Gradle plugin (version 7.5.0) to output all obfuscated jars (outjars) to a single directory for the purpose of demonstrating the plugin does not appear to support this feature as documented:
The reproducer project contains a markdown document, similar to this one, containing links to files referenced herein.
Observations
gradlew obfuscate --scan
on the reproducer project does not report any warnings, deprecations, or errors.Testing
gradlew obfuscate
from the root project directory../my-application/build/release/obfuscated.zip)
containing the obfuscated JARs is output.build-logic/src/main/kotlin/my.release.proguard-convention.gradle.kts
, to output to a directory instead of a Zip file by changingoutjars(obfuscatedJarsZipFile)
tooutjars(obfuscatedJarsDir)
as marked with theFIXME
comment.gradlew obfuscate
from the root project directory.outjars
line altogether-outjars my-application/build/release/obfuscated
to the ProGuard configuration file,shared-resources/obfuscation/proguard-configuration.pro
, below-basedirectory ../../
gradlew obfuscate
from the root project directory.my-application/build/release/obfuscated
, containing the obfuscated JARs is output.The text was updated successfully, but these errors were encountered: