mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-24 02:25:28 +00:00
parent
ec3c43faf1
commit
05dd5f3396
@ -1,8 +1,10 @@
|
||||
apply plugin: 'com.android.application'
|
||||
|
||||
def configProps = new Properties()
|
||||
def configPath = project.hasProperty('configPath') ? project.configPath : rootProject.file('config.prop')
|
||||
configProps.load(new FileInputStream(configPath))
|
||||
def configPath = project.hasProperty('configPath') ?
|
||||
new File(project.configPath) : rootProject.file('config.prop')
|
||||
if (configPath.exists())
|
||||
configPath.withInputStream { is -> configProps.load(is) }
|
||||
|
||||
android {
|
||||
defaultConfig {
|
||||
|
Loading…
Reference in New Issue
Block a user