summaryrefslogtreecommitdiffstats
path: root/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index dec698f7..49a84be9 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -161,5 +161,5 @@ publishing {
fun findPropertyString(propertyName: String): String? {
val propertyValue = project.findProperty(propertyName)
- return if (propertyValue is String) propertyValue else null
+ return propertyValue as? String
}