Removes string-concat compiler argument since it is not supported anymore

This commit is contained in:
Vitor Pamplona
2026-02-17 19:02:53 -05:00
parent 862ce9e2c2
commit c755908db5
4 changed files with 15 additions and 12 deletions
-1
View File
@@ -44,7 +44,6 @@ android {
kotlin {
compilerOptions {
jvmTarget = JvmTarget.JVM_21
freeCompilerArgs.add("-Xstring-concat=inline")
}
}
-1
View File
@@ -48,7 +48,6 @@ android {
kotlin {
compilerOptions {
jvmTarget = JvmTarget.JVM_21
freeCompilerArgs.add("-Xstring-concat=inline")
}
}
+15 -9
View File
@@ -10,7 +10,6 @@ plugins {
kotlin {
compilerOptions {
freeCompilerArgs.add("-Xstring-concat=inline")
freeCompilerArgs.add("-Xexpect-actual-classes")
}
@@ -22,8 +21,14 @@ kotlin {
androidLibrary {
namespace = "com.vitorpamplona.amethyst.commons"
compileSdk = libs.versions.android.compileSdk.get().toInt()
minSdk = libs.versions.android.minSdk.get().toInt()
compileSdk =
libs.versions.android.compileSdk
.get()
.toInt()
minSdk =
libs.versions.android.minSdk
.get()
.toInt()
compilerOptions {
jvmTarget.set(JvmTarget.JVM_21)
@@ -75,13 +80,14 @@ kotlin {
}
// Shared JVM code for both Android and Desktop
val jvmAndroid = create("jvmAndroid") {
dependsOn(commonMain.get())
dependencies {
// URL detection (JVM library, works on both)
implementation(libs.url.detector)
val jvmAndroid =
create("jvmAndroid") {
dependsOn(commonMain.get())
dependencies {
// URL detection (JVM library, works on both)
implementation(libs.url.detector)
}
}
}
jvmMain {
dependsOn(jvmAndroid)
-1
View File
@@ -10,7 +10,6 @@ plugins {
kotlin {
compilerOptions {
freeCompilerArgs.add("-Xstring-concat=inline")
freeCompilerArgs.add("-Xexpect-actual-classes")
}
jvm {