diff --git a/README.md b/README.md index 2cfc869..8f2e8c9 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,11 @@ This is a collection of handy Gradle plugins I end up using over and over. ## integration-test -Adds integration testing to Gradle projects, supporting java, groovy and scala. It's completely dynamic, so it'll only add source directories for the source plugins you have (e.g. `java`, `resources` and `groovy` but not `scala`). +Adds integration testing to Gradle projects, supporting Java, Groovy, Kotlin and Scala. It's completely dynamic, so it'll only add source directories for the source plugins you have (e.g. `java`, `resources`, `groovy` and `kotlin` but not `scala`). ### How it works -* It'll automatically pick directories under `src/integration-test/` that match `java`, `resources`, `groovy` and `scala`, depending on whether you have any (or all) of those plugins enabled. +* It'll automatically pick directories under `src/integration-test/` that match `java`, `resources`, `groovy`, `kotlin` and `scala`, depending on whether you have any (or all) of those plugins enabled. ### How to use diff --git a/integration-test.gradle b/integration-test.gradle index b3c80c3..44914e9 100644 --- a/integration-test.gradle +++ b/integration-test.gradle @@ -3,7 +3,7 @@ // Add integration test source sets sourceSets { integrationTest { sourceSet -> - ["java", "groovy", "scala", "resources"].each { + ["java", "groovy", "kotlin", "scala", "resources"].each { if (!sourceSet.hasProperty(it)) return sourceSet."$it".srcDir file("src/integration-test/${it}") }