jberkel / android-plugin

An sbt plugin for Android development in Scala
https://groups.google.com/forum/#!forum/scala-on-android
Other
476 stars 113 forks source link

Proguard config generator #171

Closed Yarikx closed 11 years ago

Yarikx commented 11 years ago

Make plugin use generated proguard config as output of aapt -G command. It adds classes used in resource files (such as View, Fragment, Activity) and add it as -keep class.

So it will reduce size (and necessity) of user hand-written proguard config

Yarikx commented 11 years ago

Of course. But I don't understand about AndroidDefault.scala. All the code I've added I write in existed style. What was the problem with AndroidDefault?

fxthomas commented 11 years ago

I had trouble with AndroidDefault not being overridable as well -- there's actually a good amount of cleaning up to be done in there, if you can find out what is wrong it'd be awesome ;)

appamatto commented 11 years ago

I merged this into the 0.6.4 branch, which will get moved into master after I go through a few pull requests.

Thanks! This completely eliminated my proguard config.