most recent version • Gradle v4.4, AGP v3.0.1 • Enabled parallel tasks • Turned the daemon ON!! • Clean build ~2 mins 25 secs • Small change in module ~1 min 45 secs
• e.g. Retrofit -> OkHttp. Need to specify both • No fun trying to port an Android project! • Open-source rule supporting maven transitive dependencies • Doesn’t support .aar dependencies, only .jar • No fun trying to port an Android project!
project @pubref • “Official” rules support mixed-mode compilation (.kt & .java in one pass). @pubref wouldn’t do this • “Official” rules cannot simply provide its output to an Android application rule (workaround needed)
point to port an existing, complex Android project structure • Bazel IntelliJ plugin doesn’t work in Android Studio 3.1 (but should be fixed in 3.2) • I’ll be really interested in looking again the next time I press File -> New Project!
build each day? • 10 x 3 mins = 30 mins day / 2.5 hrs week • 10 x 0.5 mins = 5 mins day / 25 mins week • Time savings add up • Decide whether savings are worth the cost
magic - needs configuration and your scripts need maintenance • If you need a nudge/reminder, write it into your CI workflow • Mixing Java & Kotlin means slower builds!
of an emulator • faster machine / remote build like “mainframer” • ask for a new computer J • Other options (eg Bazel) may be faster in certain circumstances, but not as much support