Obfuscation Methods for UberJars in CUBA

I am assembling my project using buildUberJar, and I need to find a way to obfuscate the code obtained from the UberJar. Can you advise on which library or tool can be used for code obfuscation in CUBA, and whether such a possibility exists at all?

Hi,
CUBA doesn’t have any specific tooling for obfuscation.
You can use any tools available for obfuscating Java Spring-based apps. Ideally, those that have a Gradle plugin.

Interestingly enough I started researching on that few days ago.
I found a Java Spring-based library that may help you.

Check out :

http://www.jasypt.org

Example usage:
https://medium.com/@javatechie/spring-boot-password-encryption-using-jasypt-e92eed7343ab

Thank you for your answer, but it’s a bit wrong))

Yes, I realize what you want is a bit different