diff options
author | Goooler <wangzongler@gmail.com> | 2022-03-22 22:17:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-22 17:17:13 +0300 |
commit | dd0fd03ea37554d79a02a8c6bcfd5f081dc6a1e1 (patch) | |
tree | be9fc5302df94e3f12458151e03b338529159bc4 /buildSrc/src/main/kotlin/org/jetbrains/DokkaPublicationChannel.kt | |
parent | 36d45997da093eabfb711fef3628a61948399496 (diff) | |
download | dokka-dd0fd03ea37554d79a02a8c6bcfd5f081dc6a1e1.tar.gz dokka-dd0fd03ea37554d79a02a8c6bcfd5f081dc6a1e1.tar.bz2 dokka-dd0fd03ea37554d79a02a8c6bcfd5f081dc6a1e1.zip |
Remove bintray publish plugins (#2364)
* Bump binary-compatibility-validator to 0.8.0
Diffstat (limited to 'buildSrc/src/main/kotlin/org/jetbrains/DokkaPublicationChannel.kt')
-rw-r--r-- | buildSrc/src/main/kotlin/org/jetbrains/DokkaPublicationChannel.kt | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/buildSrc/src/main/kotlin/org/jetbrains/DokkaPublicationChannel.kt b/buildSrc/src/main/kotlin/org/jetbrains/DokkaPublicationChannel.kt index c4f22a90..6b78edba 100644 --- a/buildSrc/src/main/kotlin/org/jetbrains/DokkaPublicationChannel.kt +++ b/buildSrc/src/main/kotlin/org/jetbrains/DokkaPublicationChannel.kt @@ -6,20 +6,11 @@ import org.gradle.api.Project enum class DokkaPublicationChannel { SpaceDokkaDev, - BintrayKotlinDev, - BintrayKotlinEap, - BintrayKotlinDokka, MavenCentral, MavenCentralSnapshot; val isSpaceRepository get() = this == SpaceDokkaDev - val isBintrayRepository - get() = when (this) { - BintrayKotlinDev, BintrayKotlinEap, BintrayKotlinDokka -> true - else -> false - } - val isMavenRepository get() = when (this) { MavenCentral, MavenCentralSnapshot -> true @@ -31,17 +22,11 @@ enum class DokkaPublicationChannel { MavenCentral -> listOf(DokkaVersionType.Release) MavenCentralSnapshot -> listOf(DokkaVersionType.Snapshot) SpaceDokkaDev -> listOf(DokkaVersionType.Release, DokkaVersionType.Dev, DokkaVersionType.MC, DokkaVersionType.Snapshot) - BintrayKotlinDev -> listOf(DokkaVersionType.Dev, DokkaVersionType.MC, DokkaVersionType.Snapshot) - BintrayKotlinEap -> listOf(DokkaVersionType.MC) - BintrayKotlinDokka -> listOf(DokkaVersionType.Release) } companion object { fun fromPropertyString(value: String): DokkaPublicationChannel = when (value) { "space-dokka-dev" -> SpaceDokkaDev - "bintray-kotlin-dev" -> BintrayKotlinDev - "bintray-kotlin-eap" -> BintrayKotlinEap - "bintray-kotlin-dokka" -> BintrayKotlinDokka "maven-central-release" -> MavenCentral "maven-central-snapshot" -> MavenCentralSnapshot else -> throw IllegalArgumentException("Unknown dokka_publication_channel=$value") |