Skip to content

Commit 4d31ad7

Browse files
committed
Fix incompatibility with maven-publish plugin.
1 parent 0de963a commit 4d31ad7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/groovy/net/researchgate/release/PluginHelper.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class PluginHelper {
126126
}
127127

128128
String findProperty(String key, String defaultVal = "") {
129-
System.properties[key] ?: project.properties[key] ?: defaultVal
129+
System.getProperty(key) ?: project.hasProperty(key) ? project.property(key) : defaultVal
130130
}
131131

132132

0 commit comments

Comments
 (0)