aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'integration-tests/gradle/build.gradle.kts')
-rw-r--r--integration-tests/gradle/build.gradle.kts14
1 files changed, 14 insertions, 0 deletions
diff --git a/integration-tests/gradle/build.gradle.kts b/integration-tests/gradle/build.gradle.kts
new file mode 100644
index 00000000..3f5baa7b
--- /dev/null
+++ b/integration-tests/gradle/build.gradle.kts
@@ -0,0 +1,14 @@
+dependencies {
+ implementation(kotlin("stdlib"))
+ implementation(kotlin("test-junit"))
+ implementation(gradleTestKit())
+}
+
+tasks {
+ test {
+ inputs.dir(file("projects"))
+ rootProject.allprojects
+ .mapNotNull { project -> project.tasks.findByName("publishToMavenLocal") }
+ .forEach { publishTask -> this.dependsOn(publishTask) }
+ }
+}