How to obfuscate SpringBoot multi-module gradle project without Android Studio

I don’t see any configuration or hint in the manual about SpringBoot multi-module gradle project without Android Studio.
Can you give me a model or configuration?
3QS very much.

Hey @shuishuijiao,

Welcome to the ProGuard community!

Here is an example of to setup a Gradle Spring Boot project with ProGuard:

That should help you for reference.

You can also follow along with the Java/Kotlin Gradle integration steps in our manual:

Those steps are specific to Java/Kotlin, which will serve you perfectly. Following these steps should allow you to integrate PG in your gradle files and build (independent from Android Studio).

Please let me know if anything is not clear.

Best,
Jack

Hi @jack
Thanks for your replay, but it’s not the answer I was looking for.
The example that you posted is a Single Module, I hope what you can give me a Multi-Module example.
Thank you very much

such as:
A project have three module D, E, F
D module depands on E module as well as module F
I hope obfuscate all three module when build the project.
How should can I do?

Hi @shuishuijiao,

Actually, it doesn’t matter if your projects has multiple modules. ProGuard will protect anything in project scope. So, this is indeed the sample you need. You can simply add additional modules as described for your own use case here. And again, ProGuard will also obfuscate those too.

Please let me know if anything is not clear.

Kind regards,

Jack