File tree Expand file tree Collapse file tree 4 files changed +4
-1
lines changed
Expand file tree Collapse file tree 4 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1515val PACKAGES_URL = System .getenv(" GH_PKG_URL" ) ? : " https://maven.pkg.github.com/compactmods/gander"
1616publishing {
1717 publications.register<MavenPublication >(project.name) {
18+ version = envVersion
1819 from(components.getByName(" java" ))
1920 }
2021
Original file line number Diff line number Diff line change 1515val PACKAGES_URL = System .getenv(" GH_PKG_URL" ) ? : " https://maven.pkg.github.com/compactmods/gander"
1616publishing {
1717 publications.register<MavenPublication >(project.name) {
18+ version = envVersion
1819 from(components.getByName(" java" ))
1920 }
2021
Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ base {
1515val PACKAGES_URL = System .getenv(" GH_PKG_URL" ) ? : " https://maven.pkg.github.com/compactmods/gander"
1616publishing {
1717 publications.register<MavenPublication >(project.name) {
18+ version = envVersion
1819 from(components.getByName(" java" ))
1920 }
2021
2122 repositories {
2223 // GitHub Packages
2324 maven(PACKAGES_URL ) {
2425 name = " GitHubPackages"
25- version = envVersion
2626 credentials {
2727 username = System .getenv(" GITHUB_ACTOR" )
2828 password = System .getenv(" GITHUB_TOKEN" )
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ dependencies {
2020val PACKAGES_URL = System .getenv(" GH_PKG_URL" ) ? : " https://maven.pkg.github.com/compactmods/gander"
2121publishing {
2222 publications.register<MavenPublication >(project.name) {
23+ version = envVersion
2324 from(components.getByName(" java" ))
2425 }
2526
You canβt perform that action at this time.
0 commit comments