aboutsummaryrefslogtreecommitdiff
path: root/integration-tests
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-08 12:15:30 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-07-08 18:59:57 +0200
commit4f9e180a1f9e9e0432bf1aed379c024736623d12 (patch)
treed6f3bba272a38a4c52ae60f90a8c9a74bb1ace5f /integration-tests
parentcaf48e76f3bff5e9907cd094cf0719f623e528d5 (diff)
downloaddokka-4f9e180a1f9e9e0432bf1aed379c024736623d12.tar.gz
dokka-4f9e180a1f9e9e0432bf1aed379c024736623d12.tar.bz2
dokka-4f9e180a1f9e9e0432bf1aed379c024736623d12.zip
Implement SetupMaven task
Diffstat (limited to 'integration-tests')
-rw-r--r--integration-tests/maven/build.gradle.kts7
1 files changed, 5 insertions, 2 deletions
diff --git a/integration-tests/maven/build.gradle.kts b/integration-tests/maven/build.gradle.kts
index b0187b13..1c747bbc 100644
--- a/integration-tests/maven/build.gradle.kts
+++ b/integration-tests/maven/build.gradle.kts
@@ -1,3 +1,4 @@
+import org.jetbrains.SetupMaven
import org.jetbrains.dependsOnMavenLocalPublication
evaluationDependsOn(":runners:maven-plugin")
@@ -9,9 +10,11 @@ dependencies {
tasks.integrationTest {
dependsOnMavenLocalPublication()
- dependsOn(":runners:maven-plugin:setupMaven")
+
+ val setupMavenTask = project(":runners:maven-plugin").tasks.withType<SetupMaven>().single()
+ dependsOn(setupMavenTask)
val dokka_version: String by project
environment("DOKKA_VERSION", dokka_version)
- environment("MVN_BINARY_PATH", project(":runners:maven-plugin").extra["MVN_BINARY_PATH"].toString())
+ environment("MVN_BINARY_PATH", setupMavenTask.mvn.absolutePath)
}