diff options
| author | 2024-12-06 21:08:06 +0000 | |
|---|---|---|
| committer | 2024-12-06 21:08:06 +0000 | |
| commit | f7f72eff9eb73e0af44382eaa19967b4589cfe51 (patch) | |
| tree | 80101cca123f125f3e224c2cacdfd3118d4506fb /java/config/kotlin.go | |
| parent | 71a028d9e4e95e318fbd8ad231da84a6f971359a (diff) | |
| parent | 0a3ef84335088feccba395822a66a13b7eb49faa (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.go | 2 |
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 |