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