Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android DSL documentation for gradle [closed]

For gradle there is a base set of documentation available for the dsl: http://www.gradle.org/docs/current/dsl/

Maybe I'm just really blind, but I can't seem to find an equivalent set of detailed documentation for android. :(

Any help would be greatly appreciated. :)

like image 554
CasualT Avatar asked Jan 16 '14 00:01

CasualT


2 Answers

https://developer.android.com/tools/building/plugin-for-gradle.html seems to be what you want?

In particular the downloadable javadoc zip with the 'plugin language reference'.

like image 181
P. D. Avatar answered Nov 20 '22 16:11

P. D.


My interim solution:

def explainMe(it){
    println "Examining $it.name:"
    println "Meta:"
    println it.metaClass.metaMethods*.name.sort().unique()
    println "Methods:"
    println it.metaClass.methods*.name.sort().unique()
    println "Depends On:"
    println it.dependsOn.collect({it*.getName()})
    println "Properties:"
    println it.properties.entrySet()*.toString().sort().toString().replaceAll(", ","\n")
}
like image 44
CasualT Avatar answered Nov 20 '22 16:11

CasualT