aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-14 10:06:04 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-07-14 11:41:31 +0200
commit7ff409fdf621932590dbf0118fff2c73dc76b951 (patch)
treefb120475a8d5ba3860eebaffaca44eb98d0a4bb9 /plugins
parent7a8bdee752c25a9cd09f5859b76463bf44c747db (diff)
downloaddokka-7ff409fdf621932590dbf0118fff2c73dc76b951.tar.gz
dokka-7ff409fdf621932590dbf0118fff2c73dc76b951.tar.bz2
dokka-7ff409fdf621932590dbf0118fff2c73dc76b951.zip
Adapt changes from "Simplify publishing configuration and enable sourcejars"
Diffstat (limited to 'plugins')
-rw-r--r--plugins/base/build.gradle.kts6
-rw-r--r--plugins/gfm/build.gradle.kts6
-rw-r--r--plugins/javadoc/build.gradle.kts6
-rw-r--r--plugins/jekyll/build.gradle.kts6
-rw-r--r--plugins/kotlin-as-java/build.gradle.kts6
-rw-r--r--plugins/mathjax/build.gradle.kts6
6 files changed, 24 insertions, 12 deletions
diff --git a/plugins/base/build.gradle.kts b/plugins/base/build.gradle.kts
index 61e2ef01..0fc7f55c 100644
--- a/plugins/base/build.gradle.kts
+++ b/plugins/base/build.gradle.kts
@@ -1,4 +1,4 @@
-import org.jetbrains.configurePublication
+import org.jetbrains.registerDokkaArtifactPublication
plugins {
id("com.jfrog.bintray")
@@ -30,4 +30,6 @@ tasks {
}
}
-configurePublication("dokka-base")
+registerDokkaArtifactPublication("dokkaBase") {
+ artifactId = "dokka-base"
+}
diff --git a/plugins/gfm/build.gradle.kts b/plugins/gfm/build.gradle.kts
index 73958046..3f69043d 100644
--- a/plugins/gfm/build.gradle.kts
+++ b/plugins/gfm/build.gradle.kts
@@ -1,4 +1,4 @@
-import org.jetbrains.configurePublication
+import org.jetbrains.registerDokkaArtifactPublication
dependencies {
implementation(project(":plugins:base"))
@@ -6,4 +6,6 @@ dependencies {
testImplementation(project(":plugins:base:test-utils"))
}
-configurePublication("gfm-plugin")
+registerDokkaArtifactPublication("gfmPlugin") {
+ artifactId = "gfm-plugin"
+}
diff --git a/plugins/javadoc/build.gradle.kts b/plugins/javadoc/build.gradle.kts
index 5846ee62..5e2e5600 100644
--- a/plugins/javadoc/build.gradle.kts
+++ b/plugins/javadoc/build.gradle.kts
@@ -1,4 +1,4 @@
-import org.jetbrains.configurePublication
+import org.jetbrains.registerDokkaArtifactPublication
dependencies {
implementation("com.soywiz.korlibs.korte:korte-jvm:1.10.3")
@@ -10,4 +10,6 @@ dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version")
}
-configurePublication("javadoc-plugin")
+registerDokkaArtifactPublication("javadocPlugin") {
+ artifactId = "javadoc-plugin"
+}
diff --git a/plugins/jekyll/build.gradle.kts b/plugins/jekyll/build.gradle.kts
index 0d1e38d6..64cf9800 100644
--- a/plugins/jekyll/build.gradle.kts
+++ b/plugins/jekyll/build.gradle.kts
@@ -1,8 +1,10 @@
-import org.jetbrains.configurePublication
+import org.jetbrains.registerDokkaArtifactPublication
dependencies {
implementation(project(":plugins:base"))
implementation(project(":plugins:gfm"))
}
-configurePublication("jekyll-plugin")
+registerDokkaArtifactPublication("jekyllPlugin") {
+ artifactId = "jekyll-plugin"
+}
diff --git a/plugins/kotlin-as-java/build.gradle.kts b/plugins/kotlin-as-java/build.gradle.kts
index 27e90f84..eda6114f 100644
--- a/plugins/kotlin-as-java/build.gradle.kts
+++ b/plugins/kotlin-as-java/build.gradle.kts
@@ -1,4 +1,4 @@
-import org.jetbrains.configurePublication
+import org.jetbrains.registerDokkaArtifactPublication
dependencies {
implementation(project(":plugins:base"))
@@ -7,4 +7,6 @@ dependencies {
testImplementation(project(":test-tools"))
}
-configurePublication("kotlin-as-java-plugin")
+registerDokkaArtifactPublication("kotlinAsJavaPlugin") {
+ artifactId = "kotlin-as-java-plugin"
+}
diff --git a/plugins/mathjax/build.gradle.kts b/plugins/mathjax/build.gradle.kts
index ea4cdff0..142e7dc4 100644
--- a/plugins/mathjax/build.gradle.kts
+++ b/plugins/mathjax/build.gradle.kts
@@ -1,3 +1,5 @@
-import org.jetbrains.configurePublication
+import org.jetbrains.registerDokkaArtifactPublication
-configurePublication("mathjax-plugin")
+registerDokkaArtifactPublication("mathjaxPlugin") {
+ artifactId = "mathjax-plugin"
+}