blob: 3b95cb69df88dcf5177d6db766c7bbc3ecd6f358 (
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
36
37
|
/*
* Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
plugins {
id("dokkabuild.test-integration")
}
dependencies {
implementation(projects.utilities)
implementation(kotlin("test-junit5"))
implementation(libs.junit.jupiterApi)
implementation(libs.junit.jupiterParams)
implementation(gradleTestKit())
implementation(libs.jsoup)
}
val aggregatingProject = gradle.includedBuild("dokka")
tasks.integrationTest {
dependsOn(aggregatingProject.task(":publishToMavenLocal"))
environment("DOKKA_VERSION", project.version)
inputs.dir(file("projects"))
javaLauncher.set(javaToolchains.launcherFor {
// kotlinx.coroutines requires Java 11+
languageVersion.set(dokkaBuild.testJavaLauncherVersion.map {
maxOf(it, JavaLanguageVersion.of(11))
})
})
}
|