summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2016-06-13 20:40:39 +0200
committerJan Dittberner <jandd@cacert.org>2016-06-13 20:40:39 +0200
commite78c4507da8874b418d588820424073e1ba58693 (patch)
treef6322ece9bc099075525131ca345da193ecd4605
parentf9dd1d81e1ae8d4fac8340cea0bd198badeb5e87 (diff)
downloadcacert-votebot-e78c4507da8874b418d588820424073e1ba58693.tar.gz
cacert-votebot-e78c4507da8874b418d588820424073e1ba58693.tar.xz
cacert-votebot-e78c4507da8874b418d588820424073e1ba58693.zip
Fix NullPointerException
This commit fixes a NullPointerException if the exec.arg property is not set during gradle builds.
-rw-r--r--build.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index fd2b8c7..df21549 100644
--- a/build.gradle
+++ b/build.gradle
@@ -36,7 +36,7 @@ task wrapper(type: Wrapper) {
}
bootRun {
- args System.getProperty("exec.args").split()
+ args System.getProperty("exec.args", "").split()
}
bootRepackage {