Commit 9348c5ba authored by topjohnwu's avatar topjohnwu

Fix build script

parent 0f7caa66
......@@ -27,7 +27,7 @@ task clean(type: Delete) {
delete rootProject.buildDir
}
String.metaClass.toFile = { new File(this) }
String.metaClass.toFile = { new File(delegate) }
def configFile = rootProject.findProperty('configPath')?.toFile() ?: rootProject.file('config.prop')
if (!configFile.exists())
throw new GradleException("Please setup config.prop")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment