diff options
author | Kamil Doległo <9080183+kamildoleglo@users.noreply.github.com> | 2020-11-13 12:22:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-13 12:22:29 +0100 |
commit | eba25082251b5cc9b6e398e780b8092f2bb9fb9c (patch) | |
tree | 1a063a6c269568c0cffa2ed51c8d8dc5dce9e9ad /buildSrc/src/main | |
parent | 63944c825d97afd910d361eee5878c5ac944a063 (diff) | |
download | dokka-eba25082251b5cc9b6e398e780b8092f2bb9fb9c.tar.gz dokka-eba25082251b5cc9b6e398e780b8092f2bb9fb9c.tar.bz2 dokka-eba25082251b5cc9b6e398e780b8092f2bb9fb9c.zip |
Add javadocJar task for publishing to MavenCentral (#1606)
Diffstat (limited to 'buildSrc/src/main')
-rw-r--r-- | buildSrc/src/main/kotlin/org/jetbrains/DokkaPublicationChannel.kt | 3 | ||||
-rw-r--r-- | buildSrc/src/main/kotlin/org/jetbrains/publication.kt | 5 |
2 files changed, 4 insertions, 4 deletions
diff --git a/buildSrc/src/main/kotlin/org/jetbrains/DokkaPublicationChannel.kt b/buildSrc/src/main/kotlin/org/jetbrains/DokkaPublicationChannel.kt index 059c79ea..42af6e8e 100644 --- a/buildSrc/src/main/kotlin/org/jetbrains/DokkaPublicationChannel.kt +++ b/buildSrc/src/main/kotlin/org/jetbrains/DokkaPublicationChannel.kt @@ -2,10 +2,7 @@ package org.jetbrains -import org.gradle.api.GradleException import org.gradle.api.Project -import org.gradle.kotlin.dsl.provideDelegate -import org.jetbrains.DokkaPublicationChannel.* internal enum class DokkaPublicationChannel { SpaceDokkaDev, diff --git a/buildSrc/src/main/kotlin/org/jetbrains/publication.kt b/buildSrc/src/main/kotlin/org/jetbrains/publication.kt index 291e3f15..c6b74746 100644 --- a/buildSrc/src/main/kotlin/org/jetbrains/publication.kt +++ b/buildSrc/src/main/kotlin/org/jetbrains/publication.kt @@ -6,7 +6,10 @@ import org.gradle.api.Project import org.gradle.api.publish.PublishingExtension import org.gradle.api.publish.maven.MavenPublication import org.gradle.api.publish.maven.tasks.PublishToMavenRepository -import org.gradle.kotlin.dsl.* +import org.gradle.kotlin.dsl.configure +import org.gradle.kotlin.dsl.get +import org.gradle.kotlin.dsl.register +import org.gradle.kotlin.dsl.withType import org.jetbrains.DokkaPublicationChannel.* import java.net.URI |