On the artifactHandler docs http://www.gradle.org/docs/current/dsl/org.gradle.api.artifacts.dsl.ArtifactHandler.html, the following code is defined:
artifacts {
//configuration name and the task:
schema schemaJar
}
It appears the following is also equivalent:
artifacts {
add('schema', schemaJar)
}
What property of Gradle/Groovy makes these calls equivalent? Reading the docs, how is one supposed to know that add() is called implicitly?