aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle/projects/it-basic/build.gradle.kts
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-22 14:31:11 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-08-14 17:51:11 +0200
commitaa21ab173d60bb69e50e7fc321e8b94c2815b6e8 (patch)
tree049c293b502b32130f8ff8b0ab1a90620cea46c1 /integration-tests/gradle/projects/it-basic/build.gradle.kts
parent9ab5b60c257507ba2159be8b4a8d73f4ac43d9e9 (diff)
downloaddokka-aa21ab173d60bb69e50e7fc321e8b94c2815b6e8.tar.gz
dokka-aa21ab173d60bb69e50e7fc321e8b94c2815b6e8.tar.bz2
dokka-aa21ab173d60bb69e50e7fc321e8b94c2815b6e8.zip
Use Gradle's new Property/Provider APIs
Diffstat (limited to 'integration-tests/gradle/projects/it-basic/build.gradle.kts')
-rw-r--r--integration-tests/gradle/projects/it-basic/build.gradle.kts7
1 files changed, 7 insertions, 0 deletions
diff --git a/integration-tests/gradle/projects/it-basic/build.gradle.kts b/integration-tests/gradle/projects/it-basic/build.gradle.kts
index 45454e29..1840ba94 100644
--- a/integration-tests/gradle/projects/it-basic/build.gradle.kts
+++ b/integration-tests/gradle/projects/it-basic/build.gradle.kts
@@ -9,6 +9,7 @@ apply(from = "../template.root.gradle.kts")
dependencies {
implementation(kotlin("stdlib"))
+ testImplementation(kotlin("test-junit"))
}
tasks.withType<DokkaTask> {
@@ -21,5 +22,11 @@ tasks.withType<DokkaTask> {
suppress.set(true)
}
}
+
+ register("myTest") {
+ kotlinSourceSet(kotlin.sourceSets["test"])
+ }
}
}
+
+buildDir.resolve("")