android-plugin icon indicating copy to clipboard operation
android-plugin copied to clipboard

Proguard problem scala 2.10

Open sinu0 opened this issue 12 years ago • 1 comments

I have a problem with configuration proguard on scala 2.10. I tried add proguard.cfg to project in sbt but this doesn't work as I expected. On scala 2.9.2 everything is ok only I need add "-keep class scala.Function1" in Bulid.scala. I use proguard.cfg from https://github.com/pocorall/hello-scaloid-maven. I tried build this maven project and everything is allright when I delete proguard file i gets the same notes as in my Sbt project. Maybe somebody explain me what to do with this.

sinu0 avatar Apr 30 '13 15:04 sinu0

I'm pretty sure @pocorall's project is using Maven and not the SBT-Android plugin. SBT-Android already has a few pre-made rules that help you start your project from scratch, so you don't need to explicitly keep common classes such as Function1.

Also, SBT-Android doesn't use proguard.cfg but a custom setting key, proguardOptimizations.

fxthomas avatar May 13 '13 07:05 fxthomas