aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle
diff options
context:
space:
mode:
authoraSemy <897017+aSemy@users.noreply.github.com>2023-03-07 23:26:06 +0100
committerGitHub <noreply@github.com>2023-03-07 23:26:06 +0100
commit62c980707d23d2d451c75330f7ed1ba613777cf3 (patch)
tree2dd732bdaa23713d665a07bcc28c2ab152dc8096 /integration-tests/gradle
parentded804e5772399f1495016d598573cb20b673b58 (diff)
downloaddokka-62c980707d23d2d451c75330f7ed1ba613777cf3.tar.gz
dokka-62c980707d23d2d451c75330f7ed1ba613777cf3.tar.bz2
dokka-62c980707d23d2d451c75330f7ed1ba613777cf3.zip
Use buildSrc convention plugins to configure the Dokka subprojects (#2704)
Diffstat (limited to 'integration-tests/gradle')
-rw-r--r--integration-tests/gradle/build.gradle.kts12
1 files changed, 9 insertions, 3 deletions
diff --git a/integration-tests/gradle/build.gradle.kts b/integration-tests/gradle/build.gradle.kts
index 0cb1dc12..3f3be54b 100644
--- a/integration-tests/gradle/build.gradle.kts
+++ b/integration-tests/gradle/build.gradle.kts
@@ -1,6 +1,11 @@
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())
@@ -14,8 +19,9 @@ tasks.integrationTest {
environment("DOKKA_VERSION", dokka_version)
inputs.dir(file("projects"))
dependsOnMavenLocalPublication()
-}
-tasks.clean {
- delete(File(buildDir, "gradle-test-kit"))
+ javaLauncher.set(javaToolchains.launcherFor {
+ // kotlinx.coroutines requires Java 11+
+ languageVersion.set(JavaLanguageVersion.of(11))
+ })
}