gradle-intellij-plugin didn't pack the jar generated by proguard in the zip file.


Hi, I'm using a build.gradle.kts like
proguard is triggered before prepareSandbox then copy back and overwrite the jar file "build/libs/${}-${properties("pluginVersion")}.jar"
and it runs without error. But after the buildPlugin had finished successfully. I unzipped the packaged plugin, there is a file named "instrumented-${}-${properties("pluginVersion")}.jar" and it has not been obfuscated.
Why is that happened? And How to solve it?
Thank you very much for any help!!

1 comment

You're not supposed to obfuscate the base Jar file but the instrumented one instead. Please rely on the output of the instrumentedJar task instead of jar.


Please sign in to leave a comment.