https://kotlinlang.org logo
#gradle
Title
e

eriwen

09/12/2017, 10:54 PM
(this is probably better reported as an issue) im writing a plugin (in kotlin) and wanted to test it against both Groovy and the Kotlin DSLs using Gradle Test Kit im seeing a test fail that i dont expect to when using the Kotlin DSL which works locally if I use
publishToMavenLocal
and consume from there test: https://github.com/mkobit/jenkins-pipeline-shared-libraries-gradle-plugin/blob/failing-kotlin-dsl-test/src/test/kotlin/com/mkobit/jenkins/pipelines/IntegrationTestSourceIntegrationTest.kt#L113-L117 build script: https://github.com/mkobit/jenkins-pipeline-shared-libraries-gradle-plugin/blob/failing-kotlin-dsl-test/src/pipelineTestResources/com/mkobit/jenkins/pipelines/IntegrationTestSourceIntegrationTest/Kotlin%20DSL%20extension%20configuration/build.gradle.kts scan: https://scans.gradle.com/s/keusy27t7l2rm 1 reply just to confirm, yes, TestKit is supported with the Kotlin DSL. Thanks for filing an issue.