Skip to content
Permalink
Browse files

warn on missing config file instead of throwing an exception

  • Loading branch information...
brettneese committed Mar 7, 2019
1 parent 1c6d4b5 commit 1a6c4aff0de421e1b3d82501947bdb3abc931f58
Showing with 2 additions and 1 deletion.
  1. +2 −1 build.gradle
@@ -192,7 +192,8 @@ task("checkConf") {
"odk-settings.xml"
].findAll({ filename -> !new File("${projectDir}/src/main/resources/${filename}").exists() })
if (!missingFiles.isEmpty())
throw new GradleException("Missing configuration files at src/main/resources: ${missingFiles}")
println("Warning: Missing configuration files at src/main/resources: ${missingFiles}")
// throw new GradleException("Missing configuration files at src/main/resources: ${missingFiles}")
}
}

0 comments on commit 1a6c4af

Please sign in to comment.
You can’t perform that action at this time.