This release is mostly backward compatible with exceptions to the items 
noted in the changes below.

## New features in 1.5.x ##

* `1.5.0`:
  * build outputs completely refactored, `genPath`, `binPath`, and other
    settings have been removed; outputs are completely configurable by setting
    `outputLayout in Android` to a function `ProjectLayout => BuildOutput`
    ```
    outputLayout in Android := {
      val base = (outputLayout in Android).value
      (p: ProjectLayout) => new android.BuildOutput.Wrapped(base(p)) {
        // example: changes default from "target/android/intermediates"
        // to "build/steps"
        override def intermediates = p.base / "build" / "steps"
      }
    }
    ```
    * Project flavor build outputs also updated (no longer go into
      `flavor-target`, instead just `flavor/`), no longer work in conjunction
      with `android.AutoBuild`, `androidBuild` must be explicitly set when
      working with flavors.
  * `apkbuildExcludes` and `apkbuildPickFirsts` have been removed,
    use `packagingOptions in Android` in conjunction with the
    `PackagingOptions` object
  * Renamed `dexMainFileClasses`, `dexMinimizeMainFile`, and
    `dexMainFileClassesConfig` to `dexMainClasses`, `dexMinimizeMain`,
    and `dexMainClassesConfig`, respectively.
  * Renamed `retrolambdaEnable` to `retrolambdaEnabled`
  * Add `extraAssetDirectories`
  * Dex sharding with `minSdkVersion` 21 or higher, dramatically improves
    incremental build times, enable by setting `dexShards in Android := true`
    * Add `dexLegacyMode` to set when predexing optimizations and sharding are
      disabled; automatically true when `minSdkVersion` < 21
    * Disabled parallel dx from `1.4.14`, it creates too much of a cpu/memory 
load
  * Add `inProjectScope(project)(settings...)` to make it easier to configure
    multi-project builds

-- 
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