From a1ff7c6926a68c841308c8d688c148dad22e56d6 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Fri, 17 Sep 2021 14:11:52 -0700 Subject: Enable compose kotlinc plugin when depending on the compose runtime When a module depends on the compose runtime add a -Xplugin argument to the kotlinc flags that enables the compose compiler plugin. Bug: 196351110 Test: TestKotlinCompose Change-Id: I423a3c4d12df42804a24b672a40a165bc8dd165f --- java/builder.go | 1 + 1 file changed, 1 insertion(+) (limited to 'java/builder.go') diff --git a/java/builder.go b/java/builder.go index ea011b8e1..ae124a3e7 100644 --- a/java/builder.go +++ b/java/builder.go @@ -263,6 +263,7 @@ type javaBuilderFlags struct { kotlincFlags string kotlincClasspath classpath + kotlincDeps android.Paths proto android.ProtoFlags } -- cgit v1.2.3-59-g8ed1b