Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
soywiz committed Jun 22, 2024
1 parent edff6da commit b6ac0d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/korlibs/modules/Sonatype.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ val Project.customMavenUrl: String? get() = System.getenv("KORLIBS_CUSTOM_MAVEN_
val Project.stagedRepositoryId: String? get() =
System.getenv("stagedRepositoryId")
?: rootProject.findProperty("stagedRepositoryId")?.toString()
?: File("stagedRepositoryId").readText()
?: File("stagedRepositoryId").takeIfExists()?.readText()


val Project.sonatypePublishUserNull: String? get() = (System.getenv("SONATYPE_USERNAME") ?: rootProject.findProperty("SONATYPE_USERNAME")?.toString() ?: project.findProperty("sonatypeUsername")?.toString())
Expand Down

0 comments on commit b6ac0d8

Please sign in to comment.