From ba4548b3d74e2940e55f4d57f6f86645677ea47c Mon Sep 17 00:00:00 2001 From: Alexander Nozik Date: Fri, 14 May 2021 12:53:57 +0300 Subject: [PATCH] Fix publishing for generic plugins --- build.gradle.kts | 2 +- src/main/kotlin/ru/mipt/npm/gradle/KScienceVersions.kt | 2 +- src/main/kotlin/ru/mipt/npm/gradle/internal/publishing.kt | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 95dc701..7b8bf3a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ plugins { } group = "ru.mipt.npm" -version = "0.9.6" +version = "0.9.7" description = "Build tools for DataForge and kscience projects" diff --git a/src/main/kotlin/ru/mipt/npm/gradle/KScienceVersions.kt b/src/main/kotlin/ru/mipt/npm/gradle/KScienceVersions.kt index baf60eb..2831243 100644 --- a/src/main/kotlin/ru/mipt/npm/gradle/KScienceVersions.kt +++ b/src/main/kotlin/ru/mipt/npm/gradle/KScienceVersions.kt @@ -9,7 +9,7 @@ object KScienceVersions { const val kotlinVersion = "1.5.0" const val kotlinxNodeVersion = "0.0.7" const val coroutinesVersion = "1.5.0-RC" - const val serializationVersion = "1.2.0" + const val serializationVersion = "1.2.1" const val atomicVersion = "0.16.1" const val ktorVersion = "1.5.3" const val htmlVersion = "0.7.3" diff --git a/src/main/kotlin/ru/mipt/npm/gradle/internal/publishing.kt b/src/main/kotlin/ru/mipt/npm/gradle/internal/publishing.kt index dbb42a4..d37ebeb 100644 --- a/src/main/kotlin/ru/mipt/npm/gradle/internal/publishing.kt +++ b/src/main/kotlin/ru/mipt/npm/gradle/internal/publishing.kt @@ -20,7 +20,7 @@ internal fun Project.setupPublication(vcs: String) = allprojects { plugins.withId("maven-publish") { configure { - plugins.withId("ru.mipt.npm.gradle.js") { + plugins.withId("org.jetbrains.kotlin.js") { val kotlin = extensions.findByType()!! val sourcesJar: Jar by tasks.creating(Jar::class) { @@ -36,7 +36,7 @@ internal fun Project.setupPublication(vcs: String) = allprojects { } } - plugins.withId("ru.mipt.npm.gradle.jvm") { + plugins.withId("org.jetbrains.kotlin.jvm") { val kotlin = extensions.findByType()!! val sourcesJar: Jar by tasks.creating(Jar::class) {