aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle/build.gradle.kts
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-08 10:47:05 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-07-08 18:59:57 +0200
commitcaf48e76f3bff5e9907cd094cf0719f623e528d5 (patch)
tree554b313645a83749afba1e77af35b930bbf4448f /integration-tests/gradle/build.gradle.kts
parent6d1e25756c3e8c43ce4d5721e7665f439a19e47c (diff)
downloaddokka-caf48e76f3bff5e9907cd094cf0719f623e528d5.tar.gz
dokka-caf48e76f3bff5e9907cd094cf0719f623e528d5.tar.bz2
dokka-caf48e76f3bff5e9907cd094cf0719f623e528d5.zip
Implement simple MavenIntegrationTest.kt
Diffstat (limited to 'integration-tests/gradle/build.gradle.kts')
-rw-r--r--integration-tests/gradle/build.gradle.kts10
1 files changed, 2 insertions, 8 deletions
diff --git a/integration-tests/gradle/build.gradle.kts b/integration-tests/gradle/build.gradle.kts
index 28e20cf9..3da416bb 100644
--- a/integration-tests/gradle/build.gradle.kts
+++ b/integration-tests/gradle/build.gradle.kts
@@ -1,4 +1,4 @@
-import org.jetbrains.invokeWhenEvaluated
+import org.jetbrains.dependsOnMavenLocalPublication
dependencies {
implementation(kotlin("stdlib"))
@@ -8,13 +8,7 @@ dependencies {
tasks.integrationTest {
inputs.dir(file("projects"))
- rootProject.allprojects.forEach { otherProject ->
- otherProject.invokeWhenEvaluated { evaluatedProject ->
- evaluatedProject.tasks.findByName("publishToMavenLocal")?.let { publishingTask ->
- this.dependsOn(publishingTask)
- }
- }
- }
+ dependsOnMavenLocalPublication()
}
tasks.clean {