diff options
author | Joffrey Bion <joffrey.bion@gmail.com> | 2021-09-07 17:53:30 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@gmail.com> | 2021-09-07 17:53:30 +0200 |
commit | 508b395a265bd5326322e20a437d11d19167bb4f (patch) | |
tree | 35da329b1c19a3df73a4e195c69e492c424b9274 | |
parent | Cleanup kotlin wrapper dependencies (diff) | |
download | seven-wonders-508b395a265bd5326322e20a437d11d19167bb4f.tar.gz seven-wonders-508b395a265bd5326322e20a437d11d19167bb4f.tar.bz2 seven-wonders-508b395a265bd5326322e20a437d11d19167bb4f.zip |
Cleanup test dependencies thanks to Kotlin 1.5
-rw-r--r-- | sw-bot/build.gradle.kts | 5 | ||||
-rw-r--r-- | sw-client/build.gradle.kts | 22 | ||||
-rw-r--r-- | sw-common-model/build.gradle.kts | 12 | ||||
-rw-r--r-- | sw-engine/build.gradle.kts | 1 | ||||
-rw-r--r-- | sw-server/build.gradle.kts | 1 |
5 files changed, 0 insertions, 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 @@ -20,19 +20,7 @@ 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") } |