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?

Hint: try looking into release letters. Such tools typically tell you exactly which version of Java they are supporting. – GhostCat Nov 26, 2018 at 10:11 And of course: asking for tools recommendations renders your question off topic. So better drop that part from your question. – GhostCat Nov 26, 2018 at 10:12

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")
                I'm facing problems making proguard compatible due to the module system. stackoverflow.com/questions/55609008/…. Where exactly do I make the appropriate changes in build.gradle file to account for this and what do I change/add "?
– anirudh
                Apr 10, 2019 at 15:00
                Looks like Java 12 support is still lacking from 6.1.0 beta 2 according to ProGuard issue #190. Linking my comment from it here: sourceforge.net/p/proguard/feature-requests/190/?limit=25#81a0. There is no mention of Java 12 in the source code at all.
– gonadarian
                May 8, 2019 at 21:33
                Another thing you could do is take out a support contract - guardsquare.com/en/support.  This will help them find the resources to add new features to your preferred obfuscator ... faster.  (Disclaimer: I have no connection or financial stake in GuardSquare or the ProGuard product.)
– Stephen C
                Nov 26, 2018 at 11:01
        

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.