Skip to content

Commit

Permalink
buildscripts: minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed May 26, 2024
1 parent a8e86db commit 9dfddfe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions HeartLibrary/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ext {
group = 'com.github.stephengold'
artifact = 'Heart'
version = heartVersion
baseName = "${artifact}-${version}${heartSnapshot}" // for artifacts
baseName = "${artifact}-${version}" // for artifacts
websiteUrl = 'https://github.com/stephengold/Heart'
}

Expand Down Expand Up @@ -116,7 +116,7 @@ publishing {
}
url = project.ext.websiteUrl
}
version project.ext.version + rootProject.ext.heartSnapshot
version project.ext.version
}
}
// Staging to OSSRH relies on the existence of 2 properties
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ext {
jmeTarget = '' // distinguish non-JME libraries built for specific JME releases
heartSnapshot = '-SNAPSHOT' // for development builds
//heartSnapshot = '' // for release builds
heartVersion = '9.0.1' + jmeTarget
heartVersion = '9.0.1' + jmeTarget + heartSnapshot
}

subprojects {
Expand Down

0 comments on commit 9dfddfe

Please sign in to comment.