Last active
January 30, 2018 23:42
-
-
Save kassisdion/ca9edcbf3a9ed1c1ff3286c316499231 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def findDefaultProguardConfig() { | |
return file('proguard-rules.pro') | |
} | |
def findExtraProguardConfig() { | |
def proguardFileTree = fileTree(dir: 'proguards', include: ['*.pro']).asList().toArray() | |
println "note: [Searching proguard file]" | |
println proguardFileTree | |
return proguardFileTree | |
} | |
ext { | |
findExtraProguardConfig = this.&findExtraProguardConfig | |
findDefaultProguardConfig = this.&findDefaultProguardConfig | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment