summaryrefslogtreecommitdiff
path: root/java/config/kotlin.go
diff options
context:
space:
mode:
author Dave Mankoff <mankoff@google.com> 2024-12-06 21:08:06 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-12-06 21:08:06 +0000
commitf7f72eff9eb73e0af44382eaa19967b4589cfe51 (patch)
tree80101cca123f125f3e224c2cacdfd3118d4506fb /java/config/kotlin.go
parent71a028d9e4e95e318fbd8ad231da84a6f971359a (diff)
parent0a3ef84335088feccba395822a66a13b7eb49faa (diff)
Merge "Change compose Compiler. New Soong Exclude_common_Srcs." into main
Diffstat (limited to 'java/config/kotlin.go')
-rw-r--r--java/config/kotlin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/config/kotlin.go b/java/config/kotlin.go
index 302d021db..bf4c886d1 100644
--- a/java/config/kotlin.go
+++ b/java/config/kotlin.go
@@ -49,7 +49,7 @@ func init() {
"-J--add-opens=java.base/java.util=ALL-UNNAMED", // https://youtrack.jetbrains.com/issue/KT-43704
}, " "))
- pctx.StaticVariable("KotlincGlobalFlags", strings.Join([]string{}, " "))
+ pctx.StaticVariable("KotlincGlobalFlags", strings.Join([]string{"-language-version 1.9"}, " "))
// Use KotlincKytheGlobalFlags to prevent kotlinc version skew issues between android and
// g3 kythe indexers.
// This is necessary because there might be instances of kotlin code in android