[PL] Disable PL for GradleIT that check linkage error messages
This commit is contained in:
committed by
Space Team
parent
4f76827ea9
commit
cd9924dafe
+5
@@ -15,6 +15,11 @@ kotlin {
|
||||
entryPoint = "sample.app.main"
|
||||
}
|
||||
}
|
||||
compilations.configureEach {
|
||||
compilerOptions.configure {
|
||||
freeCompilerArgs.add("-Xpartial-linkage=disable")
|
||||
}
|
||||
}
|
||||
sourceSets["commonMain"].dependencies {
|
||||
implementation("org.sample:libb:1.0") // libb:1.0 is compatible with liba:1.0 only!
|
||||
implementation("org.sample:liba:2.0") // liba:1.0 -> liba:2.0
|
||||
|
||||
+5
@@ -14,6 +14,11 @@ kotlin {
|
||||
entryPoint = "main"
|
||||
}
|
||||
}
|
||||
compilations.configureEach {
|
||||
compilerOptions.configure {
|
||||
freeCompilerArgs.add("-Xpartial-linkage=disable")
|
||||
}
|
||||
}
|
||||
sourceSets["commonMain"].dependencies {
|
||||
implementation("io.ktor:ktor-client-core:1.5.4")
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0-RC-native-mt")
|
||||
|
||||
+5
@@ -15,6 +15,11 @@ kotlin {
|
||||
entryPoint = "sample.app.main"
|
||||
}
|
||||
}
|
||||
compilations.configureEach {
|
||||
compilerOptions.configure {
|
||||
freeCompilerArgs.add("-Xpartial-linkage=disable")
|
||||
}
|
||||
}
|
||||
sourceSets["commonMain"].dependencies {
|
||||
implementation("org.sample:libb:1.0")
|
||||
implementation("org.sample:liba:2.0")
|
||||
|
||||
Reference in New Issue
Block a user