Hello, I started work on Gradle plugin to run Andr...
# gradle
g
Hello, I started work on Gradle plugin to run Android Instrumentation tests in Firebase Test Lab - https://github.com/gildor/gradle-firebase-test-lab-plugin Plugin written in Kotlin and now I have a couple questions about Kotlin + Gradle compatibility, maybe someone knows answers (maybe @bamboo) 1. I Use methods with Groovy Closure to configure nested DSL. Like in this case - https://github.com/gildor/gradle-firebase-test-lab-plugin/blob/master/src/main/kotlin/ru/gildor/gradle/firebase/testlab/FirebaseTestLabExtensions.kt#L23 But as I know for better compatibility with gradle-script-kotlin I must use Action<T> instead Closure<T>, but I couldn’t find correct way to configure object, I see configure() method with Action only for Iterable. Or I should use some extension function approach to configure object from DSL? 2. Can I use gradleScriptKotlinApi() somehow? Or It doesn’t work because https://github.com/gradle/gradle-script-kotlin/issues/183 3. I cannot use kotlin EAP in my plugin, because client project cannot find kotlin eap version . Can I add kotlin eap repository to buildscript using plugin? And if I can, should I do that?