From c2557d1d566c9b0775a35c7a6d19e5513bf666b5 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 31 Oct 2019 15:22:57 -0700 Subject: Fix turbine classpath arguments We were passing "--classpath foo.jar --classpath bar.jar" to turbine, it now wants (and may always have expected?) "--classpath foo.jar bar.jar". Test: m checkbuild Change-Id: Ib7e0ca64a34e236110f7b785d6a0fb51ed75567e --- java/kotlin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/kotlin.go') diff --git a/java/kotlin.go b/java/kotlin.go index aa653145a..5319a4ff9 100644 --- a/java/kotlin.go +++ b/java/kotlin.go @@ -133,7 +133,7 @@ func kotlinKapt(ctx android.ModuleContext, outputFile android.WritablePath, deps = append(deps, srcJars...) deps = append(deps, flags.processorPath...) - kaptProcessorPath := flags.processorPath.FormTurbineClasspath("-P plugin:org.jetbrains.kotlin.kapt3:apclasspath=") + kaptProcessorPath := flags.processorPath.FormRepeatedClassPath("-P plugin:org.jetbrains.kotlin.kapt3:apclasspath=") kaptProcessor := "" if flags.processor != "" { -- cgit v1.2.3-59-g8ed1b