Remove release plugin

It doesn't work with multi-module projects properly.
This commit is contained in:
Michael Bull 2020-08-29 12:19:54 +01:00
parent a0d17c6b76
commit a3709fc25a
2 changed files with 0 additions and 10 deletions

View File

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

View File

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