aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle/build.gradle.kts
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-01 14:30:49 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-07-02 12:48:53 +0200
commitc0ce35627413103d64845ca3c56b9ceab0606b6b (patch)
tree5eef75366a143f27a4fc61aa6fa236889b01d718 /integration-tests/gradle/build.gradle.kts
parent1bd0cba71db2330a5e827860c4fa8c5b7eda12b4 (diff)
downloaddokka-c0ce35627413103d64845ca3c56b9ceab0606b6b.tar.gz
dokka-c0ce35627413103d64845ca3c56b9ceab0606b6b.tar.bz2
dokka-c0ce35627413103d64845ca3c56b9ceab0606b6b.zip
Re-implement first basic gradle integration test
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) }
+ }
+}