Just a quick update about android-sdk-plugin 1.4.0 coming soon. It has some 
slight new features, and some backward compatibility breaking changes 
(builds may need to be updated)

New features:

* TR.scala has undergone changes to require scala 2.10+, now uses value 
classes for extension functions and improves runtime performance. This is 
also a backward breaking change as some of the previously available traits 
are now gone: TypedViewHolder, TypedActivity, TypedActivityHolder, 
TypedDialog, and TypedView. In their place, a single TypedFindView trait is 
available.

* extraResDirectories is new, for allowing additional overlay resources, 
for use in things like build "flavors"

* proguardCache no longer takes the ProguardCache DSL, instead it takes a 
list of package name prefixes. Now, all input jar files will be scanned to 
see if the package prefix matches, if so, it will not be passed to dex on a 
cache-hit. With this change, there can be some gotchas, however, for a 
given jar, all prefixes must be matched, or NoClassDef will be thrown at 
runtime (similar as to before), in addition to this, since it's purely 
prefix-based matching basenames will only need to be matched once now, e.g. 
'scala' will match all extension libraries as well (this may or may not be 
desired, but is what it is)

Other backward breaking changes:

* Some settings have been turned into tasks, namely: packageName, manifest, 
packageForR, versionName,versionCode, minSdkVersion, targetSdkVersion. This 
only matters if the old-style pre-0.13 sbt definitions are still being used.

* Many settings/tasks that are internal to the plugin have been moved out 
of visible scope (can be used manually, though): *buildTools, **ilogger, *
*debugTestsGenerator, **zipalignPath, **builder (now android-builder), *
*apklibArtifact, **aarArtifact, **cleanForR, **sdkLoader, **manifestPath, *
*platform, **platformJars, **proguardInputs, **sdkManager, p**roperties, *
*sdkPath, **processManifest, **setDebug, **setRelease, **aars, **packageT*

*A complete listing of the keys remains available 
at https://github.com/pfn/android-sdk-plugin/blob/1.4.x/src/keys.scala*

*This will most likely be what I will ship for 1.4.0 unless there are any 
dramatic bugs or comments.*

-- 
You received this message because you are subscribed to the Google Groups 
"scala-on-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to scala-on-android+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to