mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-20 08:38:29 +00:00
Fix build script
This commit is contained in:
parent
0f7caa66fb
commit
9348c5bad9
@ -27,7 +27,7 @@ task clean(type: Delete) {
|
|||||||
delete rootProject.buildDir
|
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')
|
def configFile = rootProject.findProperty('configPath')?.toFile() ?: rootProject.file('config.prop')
|
||||||
if (!configFile.exists())
|
if (!configFile.exists())
|
||||||
throw new GradleException("Please setup config.prop")
|
throw new GradleException("Please setup config.prop")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user