Remove release plugin
It doesn't work with multi-module projects properly.
This commit is contained in:
parent
a0d17c6b76
commit
a3709fc25a
@ -14,7 +14,6 @@ plugins {
|
|||||||
|
|
||||||
kotlin("multiplatform") version Versions.kotlin apply false
|
kotlin("multiplatform") version Versions.kotlin apply false
|
||||||
id("kotlinx.benchmark") version Versions.kotlinBenchmark apply false
|
id("kotlinx.benchmark") version Versions.kotlinBenchmark apply false
|
||||||
id("net.researchgate.release") version Versions.releasePlugin apply false
|
|
||||||
id("org.jetbrains.dokka") version Versions.dokka apply false
|
id("org.jetbrains.dokka") version Versions.dokka apply false
|
||||||
id("org.jetbrains.kotlin.plugin.allopen") version Versions.kotlin apply false
|
id("org.jetbrains.kotlin.plugin.allopen") version Versions.kotlin apply false
|
||||||
}
|
}
|
||||||
@ -37,16 +36,8 @@ allprojects {
|
|||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
plugins.withType<MavenPublishPlugin> {
|
plugins.withType<MavenPublishPlugin> {
|
||||||
apply(plugin = "net.researchgate.release")
|
|
||||||
apply(plugin = "org.gradle.signing")
|
apply(plugin = "org.gradle.signing")
|
||||||
|
|
||||||
val afterReleaseBuild by tasks.existing(DefaultTask::class)
|
|
||||||
val publish by tasks.existing(Task::class)
|
|
||||||
|
|
||||||
afterReleaseBuild {
|
|
||||||
dependsOn(publish)
|
|
||||||
}
|
|
||||||
|
|
||||||
plugins.withType<KotlinMultiplatformPluginWrapper> {
|
plugins.withType<KotlinMultiplatformPluginWrapper> {
|
||||||
apply(plugin = "org.jetbrains.dokka")
|
apply(plugin = "org.jetbrains.dokka")
|
||||||
|
|
||||||
|
@ -5,6 +5,5 @@ object Versions {
|
|||||||
const val kotlinCoroutines = "1.3.9"
|
const val kotlinCoroutines = "1.3.9"
|
||||||
const val ktor = "1.4.0"
|
const val ktor = "1.4.0"
|
||||||
const val logback = "1.2.3"
|
const val logback = "1.2.3"
|
||||||
const val releasePlugin = "2.8.1"
|
|
||||||
const val versionsPlugin = "0.29.0"
|
const val versionsPlugin = "0.29.0"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user