aboutsummaryrefslogtreecommitdiff
path: root/kotlin-analysis
diff options
context:
space:
mode:
Diffstat (limited to 'kotlin-analysis')
-rw-r--r--kotlin-analysis/build.gradle.kts6
-rw-r--r--kotlin-analysis/dependencies/build.gradle.kts8
2 files changed, 10 insertions, 4 deletions
diff --git a/kotlin-analysis/build.gradle.kts b/kotlin-analysis/build.gradle.kts
index 5acc1f06..f87811e1 100644
--- a/kotlin-analysis/build.gradle.kts
+++ b/kotlin-analysis/build.gradle.kts
@@ -1,4 +1,4 @@
-import org.jetbrains.configurePublication
+import org.jetbrains.registerDokkaArtifactPublication
plugins {
id("com.github.johnrengelman.shadow")
@@ -15,4 +15,6 @@ dependencies {
api(project(":kotlin-analysis:dependencies", configuration = "shadow"))
}
-configurePublication("dokka-analysis")
+registerDokkaArtifactPublication("dokkaAnalysis") {
+ artifactId = "dokka-analysis"
+}
diff --git a/kotlin-analysis/dependencies/build.gradle.kts b/kotlin-analysis/dependencies/build.gradle.kts
index 1fd13630..4aba6614 100644
--- a/kotlin-analysis/dependencies/build.gradle.kts
+++ b/kotlin-analysis/dependencies/build.gradle.kts
@@ -1,4 +1,5 @@
-import org.jetbrains.configurePublication
+import org.jetbrains.DokkaPublicationBuilder.Component.Shadow
+import org.jetbrains.registerDokkaArtifactPublication
plugins {
id("com.github.johnrengelman.shadow")
@@ -53,4 +54,7 @@ tasks {
}
}
-configurePublication("kotlin-analysis-dependencies", useShadow = true)
+registerDokkaArtifactPublication("kotlinAnalysisDependencies"){
+ artifactId = "kotlin-analysis-dependencies"
+ component = Shadow
+}