ProGuard says Unsupported class version number [52.0] (maximum 51.0, Java 1.7) with sbt-proguard

前端 未结 4 1166
被撕碎了的回忆
被撕碎了的回忆 2020-12-10 10:41

I\'m on Mac OS X 10.9.2 and sbt 0.13.3-SNAPSHOT (built from the sources), Java 8 and sbt-proguard 0.2.2 p

4条回答
  •  再見小時候
    2020-12-10 11:12

    It's possible to update the version of Proguard that sbt-proguard uses by changing the key proguardVersion in build.sbt to a setting newer than 5.0, e.g.

    ProguardKeys.proguardVersion in Proguard := "5.2.1"
    

    See: https://github.com/sbt/sbt-proguard/issues/5

提交回复
热议问题