Make kotlin serialization plugin depends on kotlin version

This commit is contained in:
Mikołaj Pich 2023-04-02 09:21:33 +02:00
parent 492f8ede8f
commit 2aea471b94
2 changed files with 2 additions and 1 deletions

View file

@ -1,9 +1,9 @@
plugins {
alias(libs.plugins.kotlin) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.serialization)
id "org.jlleitschuh.gradle.ktlint" version "11.3.1"
id "io.github.gradle-nexus.publish-plugin" version "1.3.0"
id "org.jetbrains.kotlin.plugin.serialization" version "1.8.10"
}
ext {

View file

@ -15,6 +15,7 @@ dependencyResolutionManagement {
plugin('kotlin', 'org.jetbrains.kotlin.jvm').versionRef('kotlin')
plugin('ksp', 'com.google.devtools.ksp').versionRef('ksp')
plugin('serialization', 'org.jetbrains.kotlin.plugin.serialization').versionRef('kotlin')
library('coroutines-core', 'org.jetbrains.kotlinx', 'kotlinx-coroutines-core').versionRef('coroutines')
library('coroutines-test', 'org.jetbrains.kotlinx', 'kotlinx-coroutines-test').versionRef('coroutines')