Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
I was trying to use Proguard (6.1.0beta1) but got
(Unsupported version number [55.0] (maximum 54.0, Java 10)))
Are there alternatives to ProGuard which can manage with Java 11?
–
–
Notice that you'll need to change the libaryjars
for Java 9 or newer due to the introduction of the module system. Here's the section of my Gradle Kotlin build script:
if (JavaVersion.current().isJava9Compatible) {
libraryjars(System.getProperty("java.home") + "/jmods")
} else {
libraryjars(System.getProperty("java.home") + "/lib/rt.jar")
–
–
–
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.