Skip to content

Commit 13c35ec

Browse files
committed
get build dir from gradle
1 parent 6527e16 commit 13c35ec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77

88
/*group = "com.lotsofpixelsstudios"*/
99
group = "de.matthiasklenz"
10-
version = System.getenv("GITHUB_REF")?.removePrefix("refs/tags/") ?: "0.1-local" //use tag name as version
10+
version = System.getenv("GITHUB_REF")?.removePrefix("refs/tags/") ?: "0.5.0-SNAPSHOT1"//"0.1-local" //use tag name as version
1111

1212
dependencies {
1313
implementation("org.jetbrains.kotlin:kotlin-stdlib")
@@ -78,7 +78,7 @@ jreleaser {
7878
register("sonatype") {
7979
setActive("ALWAYS")
8080
url = "https://central.sonatype.com/api/v1/publisher"
81-
stagingRepository("build/staging-deploy")
81+
stagingRepository(layout.buildDirectory.dir("staging-deploy").get().asFile.path)
8282
}
8383
}
8484
}

0 commit comments

Comments
 (0)