Skip to content

Commit

Permalink
Update gradle-resolver.pom with required info
Browse files Browse the repository at this point in the history
  • Loading branch information
molekyla committed May 28, 2024
1 parent 8ca912a commit 65d92a0
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ test {
}

gradlePlugin {
vcsUrl = "https://github.com/heremaps/here-artifact-gradle-resolver"
website = "https://github.com/heremaps/here-artifact-gradle-resolver"
plugins {
create("hereArtifactResolver") {
id = "com.here.platform.artifact.gradle"
Expand All @@ -64,23 +66,24 @@ spotless {
}

publishing {
publications {
pluginMaven(MavenPublication) {
pom {
packaging = "jar"
name.set("HERE platform Gradle Resolver plugin")
url.set("https://github.com/heremaps/here-artifact-gradle-resolver")
description.set("The HERE platform Gradle resolver plugin provides Java and Scala developers with access to HERE platform artifacts via Gradle")
licenses {
license {
name.set("The Apache License, Version 2.0")
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
afterEvaluate {
publications {
withType(MavenPublication) {
pom {
name = "HERE platform Gradle Resolver plugin"
url = "https://github.com/heremaps/here-artifact-gradle-resolver"
description = "The HERE platform Gradle resolver plugin provides Java and Scala developers with access to HERE platform artifacts via Gradle"
licenses {
license {
name = "The Apache License, Version 2.0"
url = "http://www.apache.org/licenses/LICENSE-2.0.txt"
}
}
scm {
connection = "scm:https://github.com/heremaps/here-artifact-gradle-resolver.git"
developerConnection = "scm:[email protected]:heremaps/here-artifact-gradle-resolver.git"
url = "https://github.com/heremaps/here-artifact-gradle-resolver"
}
}
scm {
connection.set("scm:https://github.com/heremaps/here-artifact-gradle-resolver.git")
developerConnection.set("scm:[email protected]:heremaps/here-artifact-gradle-resolver.git")
url.set("https://github.com/heremaps/here-artifact-gradle-resolver")
}
}
}
Expand Down

0 comments on commit 65d92a0

Please sign in to comment.