[Gradle, K/N] Prefer injection over lateinit vars for task configuration
#KT-45801 Fixed
This commit is contained in:
+5
@@ -15,6 +15,11 @@ repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
// KT-45801
|
||||
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinNativeCompile).configureEach {
|
||||
kotlinOptions
|
||||
}
|
||||
|
||||
kotlin {
|
||||
sourceSets {
|
||||
commonMain {
|
||||
|
||||
+5
@@ -7,6 +7,11 @@ repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
// KT-45801
|
||||
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinNativeCompile>().configureEach {
|
||||
kotlinOptions
|
||||
}
|
||||
|
||||
kotlin {
|
||||
sourceSets["commonMain"].apply {
|
||||
dependencies {
|
||||
|
||||
Reference in New Issue
Block a user