Skip to content

Commit

Permalink
Merge branch 'release/1.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
dgeorgiev committed Sep 18, 2023
2 parents 94e3704 + 0446314 commit a467f34
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down
4 changes: 4 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,7 @@ hamcrestVersion=2.2
mockkVersion=1.12.3
springMockkVersion=3.1.1
wireMockVersion=2.33.2

# Publishing values
githubUrl=https://github.com/
gitHubProject=we-node-client
31 changes: 31 additions & 0 deletions we-node-client-bom/build.gradle.kts
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`
Expand All @@ -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]")
}
}
}
}
}
}

0 comments on commit a467f34

Please sign in to comment.