Skip to content

Commit 200cb9d

Browse files
committed
feat!: bump and use kotlin-stdlib@1.9.24
1 parent f22ab91 commit 200cb9d

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

templates/project/app/build.gradle

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,16 @@ dependencies {
331331
implementation "androidx.core:core-splashscreen:${cordovaConfig.ANDROIDX_CORE_SPLASHSCREEN_VERSION}"
332332

333333
if (cordovaConfig.IS_GRADLE_PLUGIN_KOTLIN_ENABLED) {
334-
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${cordovaConfig.KOTLIN_VERSION}"
334+
implementation "org.jetbrains.kotlin:kotlin-stdlib:${cordovaConfig.KOTLIN_VERSION}"
335+
}
336+
337+
constraints {
338+
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:${cordovaConfig.KOTLIN_VERSION}") {
339+
because("kotlin-stdlib-jdk7 is now a part of kotlin-stdlib")
340+
}
341+
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:${cordovaConfig.KOTLIN_VERSION}") {
342+
because("kotlin-stdlib-jdk8 is now a part of kotlin-stdlib")
343+
}
335344
}
336345

337346
// SUB-PROJECT DEPENDENCIES START

0 commit comments

Comments
 (0)