gildor
01/30/2017, 7:11 AMinline fun Project.firebaseTestLab(config: FirebaseTestLabPluginExtension.() -> Unit) =
configure<FirebaseTestLabPluginExtension> {
config(this)
}
so it allows to use my plugin from GKS:
firebaseTestLab { /* Config here */ }
instead
configure<FirebaseTestLabPluginExtension> { /* Config here */ }
I curious, maybe it’s possible to generate similar extensions methods for all applied plugins (for all registered extension) automatically. It allows to use any plugin from GKS the same way as from Groovy, with much better discoverability than use configure with plugin class name