Proguard is saying it can't find any classes

前端 未结 2 664
一个人的身影
一个人的身影 2021-01-02 19:29

I\'m using proguard with a spring mvc application and maven.

My pom.xml\'s build section looks like:


        myapp<         


        
2条回答
  •  离开以前
    2021-01-02 20:04

    ProGuard filters work on file names, so

    .....(!META-INF/maven/**,com.myapp.*)
    

    probably won't match any class files. You probably want

    .....(!META-INF/maven/**,com/myapp/**)
    

    See ProGuard manual > Usage > File Filters

提交回复
热议问题