open-obfuscator / dProtect

:electron: dProtect is a Proguard-based obfuscator for Java and Kotlin
https://obfuscator.re/dprotect
GNU General Public License v2.0
317 stars 46 forks source link

ProGuardTask missing from compiled distribution #9

Closed v-p-b closed 1 year ago

v-p-b commented 1 year ago

I followed the Compilation section on the website to create a release that includes some bugfixes missing from the beta release. I used the default properties included in the latest main of this repo.

The distribution ZIP created with the distZip Gradle task includes dprotect.jar, that should include proguard.gradle.ProGuardTask, but the whole proguard.gradle package is missing from the JAR.

romainthomas commented 1 year ago

To have the plugin you need to create at fatJar:

$ ./gradlew :dprotect:fatJar