Skip to content

Commit 6c787e4

Browse files
author
Andre Newman
committed
Fixed System.getProperty in Gradle build file.
1 parent 299b548 commit 6c787e4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

build.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ dependencies {
3939
compile group: 'ch.qos.logback', name: 'logback-classic', version: logbackVersion
4040
}
4141

42-
run {
43-
systemProperties System.getProperties()
44-
45-
args System.getProperty("exec.args").split()
42+
if (System.getProperty("exec.args") != null) {
43+
args System.getProperty("exec.args").split()
4644
}

0 commit comments

Comments
 (0)