aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/maven/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'integration-tests/maven/build.gradle.kts')
-rw-r--r--integration-tests/maven/build.gradle.kts17
1 files changed, 17 insertions, 0 deletions
diff --git a/integration-tests/maven/build.gradle.kts b/integration-tests/maven/build.gradle.kts
new file mode 100644
index 00000000..b0187b13
--- /dev/null
+++ b/integration-tests/maven/build.gradle.kts
@@ -0,0 +1,17 @@
+import org.jetbrains.dependsOnMavenLocalPublication
+
+evaluationDependsOn(":runners:maven-plugin")
+
+dependencies {
+ implementation(kotlin("stdlib"))
+ implementation(kotlin("test-junit"))
+}
+
+tasks.integrationTest {
+ dependsOnMavenLocalPublication()
+ dependsOn(":runners:maven-plugin:setupMaven")
+
+ val dokka_version: String by project
+ environment("DOKKA_VERSION", dokka_version)
+ environment("MVN_BINARY_PATH", project(":runners:maven-plugin").extra["MVN_BINARY_PATH"].toString())
+}