Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update com.gradle.plugin-publish 1.2.0 #2919

Closed
wants to merge 14 commits into from
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
id("org.jetbrains.conventions.dokka")

alias(libs.plugins.kotlinx.binaryCompatibilityValidator)
alias(libs.plugins.gradle.pluginPublish)
alias(libs.plugins.gradle.pluginPublish) apply false
alias(libs.plugins.nexusPublish)
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ gradlePlugin-shadow = "7.1.2"
gradlePlugin-binaryCompatibilityValidator = "0.12.1"
gradlePlugin-nexusPublish = "1.1.0"
gradlePlugin-dokka = "1.7.10"
gradlePlugin-gradlePluginPublish = "0.20.0"
gradlePlugin-gradlePluginPublish = "1.2.0"
gradlePlugin-gradle = "4.0.1"

## NPM ##
Expand Down
24 changes: 10 additions & 14 deletions runners/gradle-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
`kotlin-dsl`
id("org.jetbrains.conventions.maven-publish")
id("org.jetbrains.conventions.base-java")
id("com.gradle.plugin-publish")
alias(libs.plugins.gradle.pluginPublish)
}

dependencies {
Expand Down Expand Up @@ -41,30 +41,26 @@ fun Configuration.excludeGradleCommonDependencies() {
}
}

group = "org.jetbrains.dokka"
version = dokkaVersion

@Suppress("UnstableApiUsage")
gradlePlugin {
website.set("https://www.kotlinlang.org/")
vcsUrl.set("https://github.com/kotlin/dokka.git")

plugins {
create("dokkaGradlePlugin") {
id = "org.jetbrains.dokka"
implementationClass = "org.jetbrains.dokka.gradle.DokkaPlugin"
displayName = "Dokka plugin"
description = "Dokka, the Kotlin documentation tool"
implementationClass = "org.jetbrains.dokka.gradle.DokkaPlugin"
version = dokkaVersion
tags.set(listOf("dokka", "kotlin", "kdoc", "android", "documentation"))
isAutomatedPublishing = true
}
}
}

pluginBundle {
website = "https://www.kotlinlang.org/"
vcsUrl = "https://github.com/kotlin/dokka.git"
tags = listOf("dokka", "kotlin", "kdoc", "android", "documentation")

mavenCoordinates {
groupId = "org.jetbrains.dokka"
artifactId = "dokka-gradle-plugin"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not very sure how to configure artifactId.

}
}

publishing {
publications {
register<MavenPublication>("dokkaGradlePluginForIntegrationTests") {
Expand Down

This file was deleted.