Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Proguard problem scala 2.10 #172

Open
sinu0 opened this issue Apr 30, 2013 · 1 comment
Open

Proguard problem scala 2.10 #172

sinu0 opened this issue Apr 30, 2013 · 1 comment

Comments

@sinu0
Copy link

sinu0 commented Apr 30, 2013

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.

@fxthomas
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants