diff options
Diffstat (limited to 'runners/gradle-plugin')
-rw-r--r-- | runners/gradle-plugin/build.gradle.kts | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/runners/gradle-plugin/build.gradle.kts b/runners/gradle-plugin/build.gradle.kts index e0241f67..917c7d7e 100644 --- a/runners/gradle-plugin/build.gradle.kts +++ b/runners/gradle-plugin/build.gradle.kts @@ -32,6 +32,12 @@ val sourceJar by tasks.registering(Jar::class) { from(sourceSets["main"].allSource) } +configureBintrayPublication("dokkaGradlePlugin") // TODO check if this publishes correctly + +val gradlePluginImplementationClass = "org.jetbrains.dokka.gradle.DokkaPlugin" + +val gradlePluginId = "org.jetbrains.dokka" + publishing { publications { register<MavenPublication>("dokkaGradlePlugin") { @@ -39,20 +45,26 @@ publishing { from(components["java"]) artifact(sourceJar.get()) } + + register<MavenPublication>("dokkaGradlePluginForIntegrationTests") { + artifactId = "dokka-gradle-plugin" + from(components["java"]) + artifact(sourceJar.get()) + version = "for-integration-tests-SNAPSHOT" + } } } -configureBintrayPublication("dokkaGradlePlugin") // TODO check if this publishes correctly - gradlePlugin { plugins { create("dokkaGradlePlugin") { id = "org.jetbrains.dokka" - implementationClass = "org.jetbrains.dokka.gradle.DokkaPlugin" + implementationClass = gradlePluginImplementationClass } } } + pluginBundle { // TODO check if this publishes correctly website = "https://www.kotlinlang.org/" |