aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-07 13:12:05 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-07-07 13:31:38 +0200
commit14b9352b9b7a4084f72209ba686170e313f7863b (patch)
tree1745bb01d22926a7a7927788b4b8a89562dfb3dc /integration-tests/gradle
parentf542ceb8014437a089175eac463e1fbf7cf520fd (diff)
downloaddokka-14b9352b9b7a4084f72209ba686170e313f7863b.tar.gz
dokka-14b9352b9b7a4084f72209ba686170e313f7863b.tar.bz2
dokka-14b9352b9b7a4084f72209ba686170e313f7863b.zip
Lazily configure integration test tasks
Diffstat (limited to 'integration-tests/gradle')
-rw-r--r--integration-tests/gradle/build.gradle.kts14
1 files changed, 7 insertions, 7 deletions
diff --git a/integration-tests/gradle/build.gradle.kts b/integration-tests/gradle/build.gradle.kts
index 2c526af7..28e20cf9 100644
--- a/integration-tests/gradle/build.gradle.kts
+++ b/integration-tests/gradle/build.gradle.kts
@@ -6,13 +6,13 @@ dependencies {
implementation(gradleTestKit())
}
-val integrationTest by tasks.integrationTest
-integrationTest.inputs.dir(file("projects"))
-
-rootProject.allprojects.forEach { otherProject ->
- otherProject.invokeWhenEvaluated { evaluatedProject ->
- evaluatedProject.tasks.findByName("publishToMavenLocal")?.let { publishingTask ->
- integrationTest.dependsOn(publishingTask)
+tasks.integrationTest {
+ inputs.dir(file("projects"))
+ rootProject.allprojects.forEach { otherProject ->
+ otherProject.invokeWhenEvaluated { evaluatedProject ->
+ evaluatedProject.tasks.findByName("publishToMavenLocal")?.let { publishingTask ->
+ this.dependsOn(publishingTask)
+ }
}
}
}