-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update gradle-resolver.pom with required info
- Loading branch information
Showing
1 changed file
with
19 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|
@@ -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") | ||
} | ||
} | ||
} | ||
|