diff options
author | 2022-05-02 13:59:33 -0700 | |
---|---|---|
committer | 2022-05-02 14:00:50 -0700 | |
commit | 08b0a1cd795a3a30d45ef8ff9f52f6b58fc45304 (patch) | |
tree | e7d5f0bae42a66b709c60f792a12e53b25b61a18 /java/kotlin.go | |
parent | 184a6b87e54b8f0c050ac285ac7bb9a6b68ad973 (diff) |
Add missing dependency on compose plugin in kapt rules
The kapt rule uses kotlincFlags but was not using kotlincDeps,
causing the rule to get the -Xplugin argument on the compose
compiler plugin jar, but not have a dependency on it.
Bug: 231222079
Test: TestKotlinCompose
Change-Id: I4c2cf30fb7d8cad4eededa29f67f4ffd459caa41
Diffstat (limited to 'java/kotlin.go')
-rw-r--r-- | java/kotlin.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/java/kotlin.go b/java/kotlin.go index eff5bb53f..903c6249b 100644 --- a/java/kotlin.go +++ b/java/kotlin.go @@ -175,6 +175,7 @@ func kotlinKapt(ctx android.ModuleContext, srcJarOutputFile, resJarOutputFile an var deps android.Paths deps = append(deps, flags.kotlincClasspath...) + deps = append(deps, flags.kotlincDeps...) deps = append(deps, srcJars...) deps = append(deps, flags.processorPath...) deps = append(deps, commonSrcFiles...) |