Skip to content

Commit

Permalink
fix for missing group/version information
Browse files Browse the repository at this point in the history
  • Loading branch information
cwensel committed Oct 18, 2023
1 parent 85b8f51 commit 5656b82
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/

plugins {
id("clusterless.commons.java-common-properties")
java
}

Expand All @@ -17,8 +18,8 @@ repositories {
mavenCentral()
}

group = "io.clusterless"
version = "0.2"
group = extra["group"] as String
version = extra["version"] as String

dependencies {
constraints {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

extra["group"] = "io.clusterless"
extra["version"] = "0.2"

extra["repoUserName"] = System.getProperty("publish.repo.userName")
extra["repoPassword"] = System.getProperty("publish.repo.password")

Expand Down
3 changes: 3 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ plugins {
id("io.github.gradle-nexus.publish-plugin") version "2.0.0-rc-1"
}

group = extra["group"] as String
version = extra["version"] as String

nexusPublishing {
repositories {
sonatype {
Expand Down

0 comments on commit 5656b82

Please sign in to comment.