Centralized configuring kotlinx-serialization plugin
This commit is contained in:
parent
25b8a025fd
commit
56c9fd79bd
|
@ -9,6 +9,7 @@ out/
|
|||
**/kotlin-js-store
|
||||
|
||||
.gradle
|
||||
.kotlin
|
||||
|
||||
/local.properties
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
plugins {
|
||||
kotlin("multiplatform")
|
||||
kotlin("plugin.serialization")
|
||||
id("org.jetbrains.kotlinx.atomicfu")
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ buildscript {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.22"
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
plugins {
|
||||
id("org.jetbrains.kotlin.multiplatform")
|
||||
id("org.jetbrains.kotlin.plugin.serialization") version "$kotlinVersion"
|
||||
id("org.jetbrains.kotlin.plugin.serialization")
|
||||
id("org.jetbrains.kotlinx.atomicfu")
|
||||
|
||||
id "maven-publish"
|
||||
id("maven-publish")
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
pluginManagement {
|
||||
val kotlinVersion: String by settings
|
||||
val atomicfuVersion: String by settings
|
||||
|
||||
repositories {
|
||||
|
@ -7,6 +8,8 @@ pluginManagement {
|
|||
}
|
||||
|
||||
plugins {
|
||||
// id("org.jetbrains.kotlin.multiplatform") version kotlinVersion
|
||||
id("org.jetbrains.kotlin.plugin.serialization") version kotlinVersion
|
||||
id("org.jetbrains.kotlinx.atomicfu") version atomicfuVersion
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue