Skip to content

Commit 59e431e

Browse files
committed
build: prevent null to Project.uri()
1 parent 2f10e6b commit 59e431e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gradle/publishing.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ if (isReleaseVersion) {
113113
nexusPublishing {
114114
repositories {
115115
sonatype {
116-
nexusUrl = uri(System.getenv('NEXUS_PUBLISH_URL'))
116+
nexusUrl = uri(System.getenv('NEXUS_PUBLISH_URL') ?: '')
117117
username = System.getenv('NEXUS_PUBLISH_USERNAME')
118118
password = System.getenv('NEXUS_PUBLISH_PASSWORD')
119119
stagingProfileId = System.getenv('NEXUS_PUBLISH_STAGING_PROFILE_ID')

0 commit comments

Comments
 (0)