blob: 36a28f34b1618ebc6381debcd9ee93651d8bf443 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*
* Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
import org.jetbrains.dependsOnMavenLocalPublication
plugins {
id("org.jetbrains.conventions.dokka-integration-test")
id("org.jetbrains.conventions.maven-cli-setup")
}
dependencies {
implementation(projects.integrationTests)
implementation(kotlin("test-junit5"))
}
tasks.integrationTest {
dependsOnMavenLocalPublication()
dependsOn(tasks.installMavenBinary)
val mvn = mavenCliSetup.mvn
inputs.file(mvn)
val dokka_version: String by project
environment("DOKKA_VERSION", dokka_version)
doFirst("workaround for https://github.com/gradle/gradle/issues/24267") {
environment("MVN_BINARY_PATH", mvn.get().asFile.invariantSeparatorsPath)
}
}
|