aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-plugin
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 /runners/gradle-plugin
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 'runners/gradle-plugin')
-rw-r--r--runners/gradle-plugin/build.gradle.kts4
1 files changed, 1 insertions, 3 deletions
diff --git a/runners/gradle-plugin/build.gradle.kts b/runners/gradle-plugin/build.gradle.kts
index 00e3602e..0222f5e0 100644
--- a/runners/gradle-plugin/build.gradle.kts
+++ b/runners/gradle-plugin/build.gradle.kts
@@ -47,15 +47,13 @@ gradlePlugin {
publishing {
publications {
- maybeCreate<MavenPublication>("pluginMaven").apply {
+ register<MavenPublication>("pluginMaven") {
artifactId = "dokka-gradle-plugin"
- artifact(sourceJar.get())
}
register<MavenPublication>("dokkaGradlePluginForIntegrationTests") {
artifactId = "dokka-gradle-plugin"
from(components["java"])
- artifact(sourceJar.get())
version = "for-integration-tests-SNAPSHOT"
}
}