mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
build: enable -Xstring-concat=inline for kotlin compilation
This commit is contained in:
Vendored
+1
-1
@@ -126,4 +126,4 @@
|
||||
## Contributor models - deserialized with GSON
|
||||
-keep class * implements com.itsaky.androidide.contributors.Contributor {
|
||||
*;
|
||||
}
|
||||
}
|
||||
|
||||
+4
-1
@@ -73,7 +73,10 @@ subprojects {
|
||||
}
|
||||
|
||||
tasks.withType<KotlinCompile>().configureEach {
|
||||
kotlinOptions.jvmTarget = BuildConfig.javaVersion.toString()
|
||||
kotlinOptions {
|
||||
jvmTarget = BuildConfig.javaVersion.toString()
|
||||
freeCompilerArgs += "-Xstring-concat=inline"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user