Fix publishing for generic plugins

This commit is contained in:
Alexander Nozik 2021-05-14 12:53:57 +03:00
parent a221951197
commit ba4548b3d7
3 changed files with 4 additions and 4 deletions

View File

@ -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"

View File

@ -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"

View File

@ -20,7 +20,7 @@ internal fun Project.setupPublication(vcs: String) = allprojects {
plugins.withId("maven-publish") {
configure<PublishingExtension> {
plugins.withId("ru.mipt.npm.gradle.js") {
plugins.withId("org.jetbrains.kotlin.js") {
val kotlin = extensions.findByType<KotlinJsProjectExtension>()!!
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<KotlinJvmProjectExtension>()!!
val sourcesJar: Jar by tasks.creating(Jar::class) {