aboutsummaryrefslogtreecommitdiff
path: root/plugins/javadoc/build.gradle.kts
diff options
context:
space:
mode:
authorAurimas Liutikas <aurimas@google.com>2020-07-13 18:33:28 -0700
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-07-14 11:41:31 +0200
commit7001425367a4db79c6fcdf6b8d0c53508ba50aa7 (patch)
tree8e3d80556de27b9cf1ee93f51e7d46a498a905f6 /plugins/javadoc/build.gradle.kts
parentbed2450c8d6ddd5c1ef05e3e451443c286eddea1 (diff)
downloaddokka-7001425367a4db79c6fcdf6b8d0c53508ba50aa7.tar.gz
dokka-7001425367a4db79c6fcdf6b8d0c53508ba50aa7.tar.bz2
dokka-7001425367a4db79c6fcdf6b8d0c53508ba50aa7.zip
Simplify publishing configuration and enable sourcejars
Diffstat (limited to 'plugins/javadoc/build.gradle.kts')
-rw-r--r--plugins/javadoc/build.gradle.kts13
1 files changed, 2 insertions, 11 deletions
diff --git a/plugins/javadoc/build.gradle.kts b/plugins/javadoc/build.gradle.kts
index ebf79f8f..5846ee62 100644
--- a/plugins/javadoc/build.gradle.kts
+++ b/plugins/javadoc/build.gradle.kts
@@ -1,13 +1,4 @@
-import org.jetbrains.configureBintrayPublication
-
-publishing {
- publications {
- register<MavenPublication>("javadocPlugin") {
- artifactId = "javadoc-plugin"
- from(components["java"])
- }
- }
-}
+import org.jetbrains.configurePublication
dependencies {
implementation("com.soywiz.korlibs.korte:korte-jvm:1.10.3")
@@ -19,4 +10,4 @@ dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version")
}
-configureBintrayPublication("javadocPlugin")
+configurePublication("javadoc-plugin")