diff options
Diffstat (limited to 'integration-tests/maven/build.gradle.kts')
-rw-r--r-- | integration-tests/maven/build.gradle.kts | 20 |
1 files changed, 20 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..1c747bbc --- /dev/null +++ b/integration-tests/maven/build.gradle.kts @@ -0,0 +1,20 @@ +import org.jetbrains.SetupMaven +import org.jetbrains.dependsOnMavenLocalPublication + +evaluationDependsOn(":runners:maven-plugin") + +dependencies { + implementation(kotlin("stdlib")) + implementation(kotlin("test-junit")) +} + +tasks.integrationTest { + dependsOnMavenLocalPublication() + + 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", setupMavenTask.mvn.absolutePath) +} |