Skip to content

Commit c46f140

Browse files
committed
Just use findProperty - returns null if not found instead of an exception
1 parent 9e45851 commit c46f140

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

thymeleaf-layout-dialect/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ configure {
7676
url: 'https://www.ultraq.net.nz'
7777
])
7878
.publishToMavenCentral(
79-
findProperty('mavenCentral.publisher.username') ?: '',
80-
findProperty('mavenCentral.publisher.password') ?: ''
79+
findProperty('mavenCentral.publisher.username'),
80+
findProperty('mavenCentral.publisher.password')
8181
)
8282

8383
createZipDistribution()

0 commit comments

Comments
 (0)