Skip to content

Commit 0c64a49

Browse files
committed
build: fix deprecated Kotlin compiler argument
Replaces deprecated -Xopt-in with -opt-in in build files to resolve Gradle warnings.
1 parent 865b9d2 commit 0c64a49

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

maps-compose-utils/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ android {
3434
jvmTarget.set(JvmTarget.JVM_1_8)
3535
freeCompilerArgs.addAll(
3636
"-Xexplicit-api=strict",
37-
"-Xopt-in=kotlin.RequiresOptIn"
37+
"-opt-in=kotlin.RequiresOptIn"
3838
)
3939
}
4040
}

maps-compose-widgets/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ android {
4242
jvmTarget.set(JvmTarget.JVM_1_8)
4343
freeCompilerArgs.addAll(
4444
"-Xexplicit-api=strict",
45-
"-Xopt-in=kotlin.RequiresOptIn"
45+
"-opt-in=kotlin.RequiresOptIn"
4646
)
4747
}
4848
}

maps-compose/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ android {
3434
jvmTarget.set(JvmTarget.JVM_1_8)
3535
freeCompilerArgs.addAll(
3636
"-Xexplicit-api=strict",
37-
"-Xopt-in=kotlin.RequiresOptIn"
37+
"-opt-in=kotlin.RequiresOptIn"
3838
)
3939
}
4040
}

0 commit comments

Comments
 (0)