AndroidProguardScala
AndroidProguardScala copied to clipboard
Android Studio / gradle support
I'm interested in helping port this plugin over to gradle / android studio. Is there a high level doc with rundown on the approaches used here?
it's not needed there, I think but the approach here is that results of running Proguard on Scala library are cached and reused when possible, speeding up builds
Why is it not needed? Does gradle already do caching of proguard outputs?
@tonyxiao don't know much about gradle, I used sbt for scala projects on a decent machine with SSD the difference is small enough to not bother :laughing: especially if not using Eclipse :laughing:
I haven't written much other than the README.
Definitely check out https://groups.google.com/forum/#!forum/scala-on-android and see if other people have worked on this.
One thing that's discouraged me (in a good way!) from working on this much lately is that Android-L has some things coming in it that I think will make this obsolete. Built-in multidexing, for one - the 64k limit is basically going away from what I can tell. And they're planning to provide that support in a library, so you'll be able to use it on pre-L devices. (Give the pocast a listen - http://androidbackstage.blogspot.com/2014/08/android-developers-backstage-episode-11.html)
@magicgoose - I'm also confused about your comments. You're using Scala + Android + Gradle + Proguard and it's reasonably performant? Like everyone, I use SSDs, and there's no way I'd tolerate Proguard runs on every build - it's way too slow.
@banshee No, not Gradle, but SBT. I couldn't make Gradle work with Scala. And of course it's not lightning fast, but I think it's tolerable. Maybe it does some magic which I'm not aware of...
You're using https://github.com/pfn/android-sdk-plugin, right? That does the same sort of thing that this Eclipse plugin does.
On Tue, Aug 12, 2014 at 11:06 AM, magicgoose [email protected] wrote:
@banshee https://github.com/banshee No, not Gradle, but SBT. I couldn't make Gradle work with Scala. And of course it's not lightning fast, but I think it's tolerable. Maybe it does some magic which I'm not aware of...
— Reply to this email directly or view it on GitHub https://github.com/banshee/AndroidProguardScala/issues/52#issuecomment-51952973 .
James Moore [email protected] http://jamesmoorecode.blogspot.com/
@banshee No, I had addSbtPlugin("org.scala-sbt" % "sbt-android" % "0.7")