aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/build.gradle.kts
diff options
context:
space:
mode:
authorIgnat Beresnev <ignat.beresnev@jetbrains.com>2023-08-30 15:58:46 +0200
committerGitHub <noreply@github.com>2023-08-30 15:58:46 +0200
commitc63ea36637ce956029fb15b1482c0683ecb8a587 (patch)
tree2b75a8a976b43530820e73dc60cce4b10d9fc005 /plugins/base/build.gradle.kts
parent0e00edc6fcd406fcf38673ef6a2f8f59e8374de2 (diff)
downloaddokka-c63ea36637ce956029fb15b1482c0683ecb8a587.tar.gz
dokka-c63ea36637ce956029fb15b1482c0683ecb8a587.tar.bz2
dokka-c63ea36637ce956029fb15b1482c0683ecb8a587.zip
Migrate to JUnit 5 and unify used test API (#3138)
Diffstat (limited to 'plugins/base/build.gradle.kts')
-rw-r--r--plugins/base/build.gradle.kts11
1 files changed, 3 insertions, 8 deletions
diff --git a/plugins/base/build.gradle.kts b/plugins/base/build.gradle.kts
index 2f9f5863..b6374d75 100644
--- a/plugins/base/build.gradle.kts
+++ b/plugins/base/build.gradle.kts
@@ -27,6 +27,9 @@ dependencies {
}
// Test only
+ testImplementation(kotlin("test"))
+ testImplementation(libs.junit.jupiterParams)
+
symbolsTestConfiguration(project(path = ":subprojects:analysis-kotlin-symbols", configuration = "shadow"))
descriptorsTestConfiguration(project(path = ":subprojects:analysis-kotlin-descriptors", configuration = "shadow"))
testImplementation(projects.plugins.base.baseTestUtils) {
@@ -34,20 +37,12 @@ dependencies {
}
testImplementation(projects.core.contentMatcherTestUtils)
testImplementation(projects.core.testApi)
- testImplementation(platform(libs.junit.bom))
- testImplementation(libs.junit.jupiter)
dokkaHtmlFrontendFiles(projects.plugins.base.frontend) {
because("fetch frontend files from subproject :plugins:base:frontend")
}
}
-
-
-
-
-
-
// access the frontend files via the dependency on :plugins:base:frontend
val dokkaHtmlFrontendFiles: Provider<FileCollection> =
configurations.dokkaHtmlFrontendFiles.map { frontendFiles ->