Getting Started
First steps with St3ix Obfuscator
Getting Started
Building
./gradlew distThis creates under build/dist/:
st3ix-obfuscator-v{VERSION}.jar– the obfuscator JARrun.bat– launch script for the GUIconfig.yml.example– config templateImages/folder
Obfuscating a JAR (CLI)
java -jar build/dist/st3ix-obfuscator-v*.jar -i myapp.jar -o myapp-obfuscated.jarOutput goes to build/dist/Obfuscate/myapp-obfuscated.jar.
Obfuscating a JAR (GUI)
On Windows:
- Run
run.batin thebuild/dist/folder (or double-click the JAR) - Select input JAR
- Enter output filename
- Optional: set config path
- Start
Configuration
Copy config.yml.example to config.yml and place it next to the obfuscator JAR. See Configuration for all options.
Example Project
The example project under Example/Java Project has an obfuscate Gradle task:
cd "Example/Java Project"
./gradlew obfuscate
java -jar ../../build/dist/Obfuscate/example-java-project-obfuscated.jarAlternatively, run test-obfuscate.bat from the project root for a full build and obfuscation test.