-
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.
- Loading branch information
Showing
3 changed files
with
40 additions
and
5 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 |
---|---|---|
|
@@ -35,8 +35,8 @@ val sonaTypeMavenPassword: String? by project | |
val weMavenBasePath = "https://artifacts.wavesenterprise.com/repository/" | ||
|
||
val sonaTypeBasePath = "https://s01.oss.sonatype.org" | ||
val gitHubProject = "waves-enterprise/we-node-client" | ||
val githubUrl = "https://github.com/$gitHubProject" | ||
val gitHubProject: String by project | ||
val githubUrl: String by project | ||
|
||
val feignVersion: String by project | ||
val jacksonVersion: String by project | ||
|
@@ -200,7 +200,7 @@ configure( | |
pom { | ||
packaging = "jar" | ||
name.set(project.name) | ||
url.set(githubUrl) | ||
url.set(githubUrl + gitHubProject) | ||
description.set("WE Node Client for Java/Kotlin") | ||
|
||
licenses { | ||
|
@@ -211,9 +211,9 @@ configure( | |
} | ||
|
||
scm { | ||
connection.set("scm:$githubUrl") | ||
connection.set("scm:$githubUrl$gitHubProject") | ||
developerConnection.set("scm:[email protected]:$gitHubProject.git") | ||
url.set(githubUrl) | ||
url.set(githubUrl + gitHubProject) | ||
} | ||
|
||
developers { | ||
|
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
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
val gitHubProject: String by project | ||
val githubUrl: String by project | ||
|
||
plugins { | ||
`maven-publish` | ||
`java-platform` | ||
|
@@ -19,6 +22,34 @@ publishing { | |
publications { | ||
create<MavenPublication>("we-node-client-bom") { | ||
from(components["javaPlatform"]) | ||
|
||
pom { | ||
packaging = "pom" | ||
name.set(project.name) | ||
url.set(githubUrl + gitHubProject) | ||
description.set("WE Node Client BOM") | ||
|
||
licenses { | ||
license { | ||
name.set("The Apache License, Version 2.0") | ||
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt") | ||
} | ||
} | ||
|
||
scm { | ||
connection.set("scm:$githubUrl$gitHubProject") | ||
developerConnection.set("scm:[email protected]:$gitHubProject.git") | ||
url.set(githubUrl + gitHubProject) | ||
} | ||
|
||
developers { | ||
developer { | ||
id.set("kt3") | ||
name.set("Stepan Kashintsev") | ||
email.set("[email protected]") | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |