Skip to content

Instantly share code, notes, and snippets.

@kassisdion
Last active January 30, 2018 23:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kassisdion/ca9edcbf3a9ed1c1ff3286c316499231 to your computer and use it in GitHub Desktop.
Save kassisdion/ca9edcbf3a9ed1c1ff3286c316499231 to your computer and use it in GitHub Desktop.
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