Upgrade to Pro — share decks privately, control downloads, hide ads and more …

What's new in AGP 3.0

What's new in AGP 3.0

Slides from my talk at GDG Florianópolis

Tweet

More Decks by David Tiago Conceição

Other Decks in Programming

Transcript

  1. // build.gradle (app) compile project(':A') compile project(':B') // build.gradle (A)

    compile project(':C') // build.gradle (B) compile project(':D') // ...
  2. // build.gradle (app) implementation project(':A') implementation project(':B') // build.gradle (A)

    implementation project(':C') // build.gradle (B) implementation project(':D') // ...
  3. //build.gradle productFlavors { production { dimension "minSdkVersion" } development {

    dimension "minSdkVersion" minSdkVersion 21 Flavor dimensions
  4. How to know more? • Implementation vs API dependency: https://jeroenmols.com/blog/2017/06/14/androidstudio3

    • Migrate to Android Plugin for Gradle 3.0.0: https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html • Optimize Your Build Speed: https://developer.android.com/studio/build/optimize-your-build.html • Incremental Compilation, the Java Library Plugin, and other performance features in Gradle 3.4: https://blog.gradle.org/incremental-compiler-avoidance