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

add resourceContainingJars key for ApkBuilder / prevent other projects are broken by GlobalScope #142

Open lepidum opened 12 years ago

lepidum commented 12 years ago

add resourceContainingJars key for ApkBuilder

Make more precisely and customizable resource handling. For example, when I don't want to use proguard to unmanaged jars.

useProguard in Android := true,
dxInputs in Android <+= (unmanagedBase) map (x => x),

Now, 'dx' command can handle directories properly, but ApkBuilder could not so. Because ApkBuilder requires that dxInputs contains files. Consequently, generated apk contains classes but does not contain resources.


prevent other projects are broken by GlobalScope

fix #141