Skip to content

This is a simple non working example for publishing a proguard JAR using a Gradle build file. It is used to get support via stackoverflow.

Notifications You must be signed in to change notification settings

muthenberg/gradle-jar-overwrite-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test for Overwriting Gradle Publication JAR with Obfuscated ProGuard Jar during Publication

This is a simple example for publishing an obfuscated Proguard JAR using Gradle and its 'publish' plugin. It is used to get support via stackoverflow.

The most important requirement was, that only the obfuscated Proguard JAR must be published as a substitute for the not obfuscated one. So simply adding a classifier does not solve the issue.

I did ask the relevant question (https://stackoverflow.com/questions/59343095/how-to-publish-proguard-jar-as-maven-artifact-using-gradle-publish-plugin)[here]. The final solution is based on (https://stackoverflow.com/questions/52875698/how-to-proguard-with-spring-boot-gradle-plugin)[this] thread.

To see the solution in action just run ./gradlew publish.

About

This is a simple non working example for publishing a proguard JAR using a Gradle build file. It is used to get support via stackoverflow.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages