I am using proguard to obfuscate jar, but the outjar BOOT_INF\classes only has application.properties. Why did the other files disappear?
Can anyone assist me?
proguard.bat @proguard.conf
-libraryjars D:\environment\jdk17\jdk-17.0.5+8\jmods\java.base.jmod(!**.jar;!module-info.class)
-injars E:\proguard\proguard-7.4.2\test_spring-0.0.1-SNAPSHOT.jar
-outjars E:\proguard\proguard-7.4.2\test.jar
-target 17
-dontshrink
-dontoptimize
-dontusemixedcaseclassnames
-useuniqueclassmembernames
-dontusemixedcaseclassnames
-adaptclassstrings
-keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,*Annotation*,EnclosingMethod
-keepnames interface ** { *; }
-keep interface * extends * { *; }
-keepparameternames
-keepclassmembers enum * { *; }
-keepclassmembers class * {
@org.springframework.context.annotation.Bean *;
@org.springframework.beans.factory.annotation.Autowired *;
@org.springframework.beans.factory.annotation.Value *;
@org.springframework.stereotype.Service *;
@org.springframework.stereotype.Component *;
}
-keeppackagenames org.*
-ignorewarnings
-dontnote
-printconfiguration
-keep public class com.example.hhwwtest.TestSpringApplication { *; }
-keep class org.springframework.boot.loader.** { *; }