Compare commits
No commits in common. "master/k2.1.x" and "master/k2.0.x" have entirely different histories.
master/k2.
...
master/k2.
@ -68,16 +68,3 @@ public fun KotlinMultiplatformExtension.setCompatibilityWithKotlin(version: Kotl
|
|||||||
this@configureAllCompilersOptionsOnAllTargets.apiVersion.set(version)
|
this@configureAllCompilersOptionsOnAllTargets.apiVersion.set(version)
|
||||||
this@configureAllCompilersOptionsOnAllTargets.languageVersion.set(version)
|
this@configureAllCompilersOptionsOnAllTargets.languageVersion.set(version)
|
||||||
}
|
}
|
||||||
|
|
||||||
public fun KotlinTarget.suppressWarningsForAllCompilations(vararg names: String): Unit =
|
|
||||||
this.configureAllCompilersOptionsOnAllCompilations {
|
|
||||||
for (warn in names) {
|
|
||||||
this@configureAllCompilersOptionsOnAllCompilations.freeCompilerArgs.add("-Xsuppress-warning=${warn}")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public fun KotlinMultiplatformExtension.suppressWarningsForForAllTargets(vararg names: String) {
|
|
||||||
this.targets.configureEach { t ->
|
|
||||||
t.suppressWarningsForAllCompilations(*names)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
this=0.3
|
this=0.3
|
||||||
kotlin=2.1.10
|
kotlin=2.0.20
|
||||||
gradle=7.6.3
|
gradle=7.5.1
|
Loading…
Reference in New Issue
Block a user