blob: 3aa26b9bd047e47767448b9ba1fff7a0efdc8e96 (
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
31
32
33
34
35
|
/*
* 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")
}
dependencies {
implementation(projects.integrationTests)
implementation(kotlin("test-junit5"))
implementation(libs.junit.jupiterApi)
implementation(libs.junit.jupiterParams)
implementation(gradleTestKit())
implementation(libs.jsoup)
}
tasks.integrationTest {
val dokka_version: String by project
environment("DOKKA_VERSION", dokka_version)
inputs.dir(file("projects"))
dependsOnMavenLocalPublication()
javaLauncher.set(javaToolchains.launcherFor {
// kotlinx.coroutines requires Java 11+
languageVersion.set(dokkaBuild.testJavaLauncherVersion.map {
maxOf(it, JavaLanguageVersion.of(11))
})
})
}
|