kotlin 2.0.0-Beta1
This commit is contained in:
parent
7636f37cfc
commit
ed5faa0335
@ -1,6 +1,6 @@
|
||||
[versions]
|
||||
tools = "0.15.0-kotlin-1.9.20"
|
||||
kotlin = "1.9.20"
|
||||
tools = "0.15.0-kotlin-2.0.0-Beta1"
|
||||
kotlin = "2.0.0-Beta1"
|
||||
# https://github.com/Kotlin/kotlinx-atomicfu
|
||||
atomicfu = "0.22.0"
|
||||
# https://github.com/Kotlin/binary-compatibility-validator
|
||||
@ -37,7 +37,7 @@ yamlkt = "0.13.0"
|
||||
jsBom = "1.0.0-pre.624"
|
||||
junit = "5.9.3"
|
||||
# https://github.com/JetBrains/compose-multiplatform
|
||||
compose = "1.5.3"
|
||||
compose = "1.5.10"
|
||||
# https://mvnrepository.com/artifact/org.slf4j/slf4j-api
|
||||
slf4j = "2.0.9"
|
||||
# https://mvnrepository.com/artifact/ch.qos.logback/logback-classic
|
||||
|
@ -4,17 +4,15 @@ import org.gradle.api.Plugin
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.kotlin.dsl.apply
|
||||
import org.gradle.kotlin.dsl.configure
|
||||
import org.gradle.kotlin.dsl.hasPlugin
|
||||
import org.gradle.kotlin.dsl.invoke
|
||||
import org.jetbrains.dokka.gradle.DokkaPlugin
|
||||
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
|
||||
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinMultiplatformPlugin
|
||||
import space.kscience.gradle.internal.applySettings
|
||||
import space.kscience.gradle.internal.defaultKotlinCommonArgs
|
||||
|
||||
public open class KScienceMPPlugin : Plugin<Project> {
|
||||
override fun apply(project: Project): Unit = project.run {
|
||||
if (!plugins.hasPlugin(KotlinMultiplatformPlugin::class)) {
|
||||
if (!plugins.hasPlugin("org.jetbrains.kotlin.multiplatform")) {
|
||||
//apply<KotlinMultiplatformPlugin>() for some reason it does not work
|
||||
plugins.apply("org.jetbrains.kotlin.multiplatform")
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user