How does new configuration name resolved to the create method in configurations DSL?

(Satya Komatineni) #1

configurations {
//create a config

How is “myconfig” resolved to create(“myconfig”)

what general rule is at play?

I appreciate any pointers.

(Satya Komatineni) #2

Further more, in addition to the syntactical shortcuts provided by Groovy, what additional rules are at play in resolving method names from strings in DSL? where will I look in the gradle source code to further investigate.

(Satya Komatineni) #3

This is previously discussed

(Satya Komatineni) #4

This item is researched here: Understanding Gradle Configurations