blob: 3f3be54b9edb11b2ee5fb4bf7ffef657c04c4915 (
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
|
import org.jetbrains.dependsOnMavenLocalPublication
plugins {
org.jetbrains.conventions.`dokka-integration-test`
}
dependencies {
implementation(project(":integration-tests"))
implementation(kotlin("stdlib"))
implementation(kotlin("test-junit"))
implementation(gradleTestKit())
val jsoup_version: String by project
implementation("org.jsoup:jsoup:$jsoup_version")
}
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(JavaLanguageVersion.of(11))
})
}
|