diff options
author | 2023-10-03 16:30:28 -0400 | |
---|---|---|
committer | 2023-10-04 10:37:05 -0400 | |
commit | e10fef75f16bf8c82c58f300891d46ac4560e3d8 (patch) | |
tree | 00abad960376dff315d2decf89d927b1d83377b9 | |
parent | fc5ff341e85a8db63b2aa4f7f38541d549fc2a9a (diff) |
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
-rw-r--r-- | java/config/kotlin.go | 5 |
1 files changed, 1 insertions, 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{}, " ")) } |