# proguard-javapackager-gradle-demo **Repository Path**: 12581/proguard-javapackager-gradle-demo ## Basic Information - **Project Name**: proguard-javapackager-gradle-demo - **Description**: 混淆-EXE打包-gradle-示例 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-01-06 - **Last Updated**: 2024-11-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Demo Application demonstrating ProGuard applied to a Spring Boot application ## Building ``` ./gradlew clean proguard --info ``` or ```shell ./gradlew clean packageMyApp --info ``` Spring Boot applications contain a BOOT-INF folder which contains the application class files and library jars. We must first extract the program classes, then apply ProGuard to them and finally repackage the application. ## Executing The unobfuscated application will be located at `build/libs/demo-0.0.1.jar` and the obfuscated application will be located at `build/libs/demo-0.0.1-obfuscated.jar`. They can be executed as follows: ``` java -jar build/libs/demo-0.0.1.jar ``` or ``` java -jar build/libs/demo-0.0.1-obfuscated.jar ```