Gradle and AGP Build APIs: Live Q&A - MAD Skills

8 961
16.5
Опубликовано 9 декабря 2021, 18:34
Welcome to the live Q&A for the Gradle and AGP Build APIs series for MAD Skills, hosted by Android Developer Relations Engineer Florina Muntenescu. This time, Florina is joined by Murat Yener, Jerome Dochez, and Wojtek Kaliciński to answer your Gradle and AGP Build APIs questions!

Questions:
0:00 - Introduction
1:01 - As a regular Android developer, do I need to know all of those new AGP APIs? What is the benefit?
3:23 - How can I compute a value which is set as resValue() or buildConfigField()? Eg: I want to compute the local ip the system build is running in and set it via buildConfigField()
5:38 - Are you considering making a build system agnostic toolchain so we can more easily make another build system build Android libraries and apps?
7:06 - Kotlin supports generating ABI jars and few build systems like Bazel already use it for compile avoidance. Could this be integrated with Gradle/AGP?
8:19 - Has Google considered any official first party solutions for remote execution with Gradle?
9:26 - Will the dynamic feature Gradle plugin ever be fixed so those modules do *not* require a dependency on the app module? Or stop breaking the uniquePackageNames feature?
10:28 - What's the recommended way to write plugins that should be compatible with multiple AGP versions?
12:37 - What about library upgrade suggestions for Gradle Kotlin DSL? Is that arriving anytime soon? Also maybe an easier way to migrate to it in Studio?
14:55 - Are there any plans to bring Android Studio and IntelliJ closer one to another? Ideally being able to use the latest AGP in IntelliJ?
16:28 - Is there some way to know which plugin added which task (without reading plugin source code/docs)?
17:32 - How does AGP work?
18:39 - Has Google tried switching from Bazel to Gradle for apps w/ thousands of modules to see where pain points are? Is there any way to do an incremental sync of a Gradle project when you add a new module?
21:20 - Can Android lint run against JVM only modules so it flags minSDK/desugaring issues w/ Java code?
22:10 - Is it possible to include different modules in different flavors using setDynamicFeatures?
24:49 - How do I make my Android Studio create a project using Kotlin Gradle by default?
25:46 - I saw the Android Gradle Plugin Roadmap page on developer.android.com, but can you talk a little bit more about the deprecation that's going to happen in AGP 8? How much work will be needed?
28:16 - I tried building my project, but the build failed and I got an error like "this is not compatible with Gradle 8.0" when my Gradle version is 7.0.3. What could be the cause?

AGP Roadmap → goo.gle/3EuNYXz
Gradle recipes → goo.gle/31587VN

Catch more videos on Gradle and AGP Build APIs → goo.gle/gradle-mad

Watch more MAD Skills episodes → goo.gle/madskills
Subscribe to Android Developers → goo.gle/AndroidDevs

#Featured #Latest #MADSkills


product: Android - General; fullname: Murat Yener;
Случайные видео
359 дней – 4 64415:04
077: Why isn't percentage working here?
07.12.21 – 3 97425:23
Inclusive language in Search
30.03.20 – 155 38310:34
Google Pixel 5 is not next!
автотехномузыкадетское