diff --git a/templates/project/app/build.gradle b/templates/project/app/build.gradle index 19f97c21..5ff337f1 100644 --- a/templates/project/app/build.gradle +++ b/templates/project/app/build.gradle @@ -331,7 +331,16 @@ dependencies { implementation "androidx.core:core-splashscreen:${cordovaConfig.ANDROIDX_CORE_SPLASHSCREEN_VERSION}" if (cordovaConfig.IS_GRADLE_PLUGIN_KOTLIN_ENABLED) { - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${cordovaConfig.KOTLIN_VERSION}" + implementation "org.jetbrains.kotlin:kotlin-stdlib:${cordovaConfig.KOTLIN_VERSION}" + } + + constraints { + implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:${cordovaConfig.KOTLIN_VERSION}") { + because("kotlin-stdlib-jdk7 is now a part of kotlin-stdlib") + } + implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:${cordovaConfig.KOTLIN_VERSION}") { + because("kotlin-stdlib-jdk8 is now a part of kotlin-stdlib") + } } // SUB-PROJECT DEPENDENCIES START