From e10fef75f16bf8c82c58f300891d46ac4560e3d8 Mon Sep 17 00:00:00 2001 From: Liz Kammer Date: Tue, 3 Oct 2023 16:30:28 -0400 Subject: [PATCH] Remove unnecessary flag for Kotlin compiles This has been fixed in upstream Kotlin Test: add /tmp/build.txt file and m metalava Change-Id: I6d088548ee5a31452ad637bbdd75e26c8863926d --- java/config/kotlin.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/java/config/kotlin.go b/java/config/kotlin.go index fc63f4dfb..e5e187cad 100644 --- a/java/config/kotlin.go +++ b/java/config/kotlin.go @@ -49,8 +49,5 @@ func init() { "-J--add-opens=java.base/java.util=ALL-UNNAMED", // https://youtrack.jetbrains.com/issue/KT-43704 }, " ")) - pctx.StaticVariable("KotlincGlobalFlags", strings.Join([]string{ - // b/222162908: prevent kotlinc from reading /tmp/build.txt - "-Didea.plugins.compatible.build=999.SNAPSHOT", - }, " ")) + pctx.StaticVariable("KotlincGlobalFlags", strings.Join([]string{}, " ")) }