With Android's new "Light Build" (<https://develop...
# kotlin-toolchain
v
With Android's new "Light Build" (https://developer.android.com/tools/agents/lightbuild) system being introduced as an alternative to Gradle-based Android builds, I'm curious about the Kotlin Toolchain team's plans for Android support. Do you see Kotlin Toolchain continuing to use Gradle/AGP internally for Android builds, or are there plans to integrate with Light Build or develop a native Android build backend in the future? I'm particularly interested in the long-term direction, since one of the things that attracts me to Kotlin Toolchain is the possibility of moving away from Gradle entirely.
j
v
Since Google's Light Build is also exploring Android builds without Gradle (i guess), do you think there could be any collaboration or reuse of its underlying tooling for Kotlin Toolchain? Or do you expect Kotlin Toolchain to implement its own integration directly with the Android build tools?
👀 2
z
For the record, Lightbuild currently creates a Gradle project under the hood too. But the idea is that it's a black box, so they might change that in the future.
👍 1
r
I've also had a version of this question bubbling around in my head. Does moving away from gradle mean reimplementing AGP functionality in Kotlin Toolchain, or is delegating to Lightbuild a possibility for the future? There's a history of moving Android-related responsibilities from KGP to AGP, and I'm curious if the dividing line between Kotlin and Android tooling will be the same in the new tools.
BTW I'm at Android Dev Summit right now and poked one of the Lightbuild devs about this. Seems like they're just focused on the Android side of things and not currently very concerned about how they fit in with other tooling.
😐 2