From 508b395a265bd5326322e20a437d11d19167bb4f Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Tue, 7 Sep 2021 17:53:30 +0200 Subject: Cleanup test dependencies thanks to Kotlin 1.5 --- sw-bot/build.gradle.kts | 5 ----- sw-client/build.gradle.kts | 22 ---------------------- sw-common-model/build.gradle.kts | 12 ------------ sw-engine/build.gradle.kts | 1 - sw-server/build.gradle.kts | 1 - 5 files changed, 41 deletions(-) diff --git a/sw-bot/build.gradle.kts b/sw-bot/build.gradle.kts index 86017147..8522acb9 100644 --- a/sw-bot/build.gradle.kts +++ b/sw-bot/build.gradle.kts @@ -4,11 +4,6 @@ plugins { dependencies { api(projects.swClient) - implementation(kotlin("stdlib-jdk8")) implementation(libs.kotlinx.coroutines.core) - implementation(libs.slf4j.api) - - testImplementation(kotlin("test")) - testImplementation(kotlin("test-junit")) } diff --git a/sw-client/build.gradle.kts b/sw-client/build.gradle.kts index 0221c24a..801fe295 100644 --- a/sw-client/build.gradle.kts +++ b/sw-client/build.gradle.kts @@ -19,27 +19,5 @@ kotlin { implementation(libs.kotlinx.coroutines.core) } } - val commonTest by getting { - dependencies { - implementation(kotlin("test-common")) - implementation(kotlin("test-annotations-common")) - } - } - val jvmTest by getting { - dependencies { - implementation(kotlin("test")) - implementation(kotlin("test-junit")) - } - } - val jsMain by getting { - dependencies { - implementation(npm("text-encoding", "0.7.0")) // required by krossbow, because required by kotlinx-io - } - } - val jsTest by getting { - dependencies { - implementation(kotlin("test-js")) - } - } } } diff --git a/sw-common-model/build.gradle.kts b/sw-common-model/build.gradle.kts index 557a6d04..3a550f25 100644 --- a/sw-common-model/build.gradle.kts +++ b/sw-common-model/build.gradle.kts @@ -19,20 +19,8 @@ kotlin { } } val commonTest by getting { - dependencies { - implementation(kotlin("test-common")) - implementation(kotlin("test-annotations-common")) - } - } - val jvmTest by getting { dependencies { implementation(kotlin("test")) - implementation(kotlin("test-junit")) - } - } - val jsTest by getting { - dependencies { - implementation(kotlin("test-js")) } } } diff --git a/sw-engine/build.gradle.kts b/sw-engine/build.gradle.kts index 3b5691f2..93b7ad85 100644 --- a/sw-engine/build.gradle.kts +++ b/sw-engine/build.gradle.kts @@ -7,5 +7,4 @@ dependencies { implementation(projects.swCommonModel) implementation(libs.kotlinx.serialization.json) testImplementation(kotlin("test")) - testImplementation(kotlin("test-junit")) } diff --git a/sw-server/build.gradle.kts b/sw-server/build.gradle.kts index 1bab48d2..5c2a647e 100644 --- a/sw-server/build.gradle.kts +++ b/sw-server/build.gradle.kts @@ -31,7 +31,6 @@ dependencies { implementation(libs.micrometer.registry.prometheus) testImplementation(kotlin("test")) - testImplementation(kotlin("test-junit")) testImplementation(projects.swClient) testImplementation("org.springframework.boot:spring-boot-starter-test") } -- cgit