Remove unused dependencies

This commit is contained in:
Tristan Hamilton 2020-08-28 16:19:39 +01:00 committed by Michael Bull
parent 7805842eae
commit 620f434220
3 changed files with 4 additions and 17 deletions

View File

@ -2,7 +2,7 @@ object Versions {
const val dokka = "0.10.1"
const val kotlin = "1.4.0"
const val kotlinBenchmark = "0.2.0-dev-20"
const val kotlinCoroutines = "1.3.8"
const val kotlinCoroutines = "1.3.9"
const val ktor = "1.4.0"
const val logback = "1.2.3"
const val releasePlugin = "2.8.1"

View File

@ -15,8 +15,7 @@ kotlin {
val commonMain by getting {
dependencies {
implementation(kotlin("stdlib-common"))
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core-native:${Versions.kotlinCoroutines}")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.kotlinCoroutines}")
implementation(project(":kotlin-result"))
}
}
@ -25,7 +24,6 @@ kotlin {
dependencies {
implementation(kotlin("test-common"))
implementation(kotlin("test-annotations-common"))
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core-native:${Versions.kotlinCoroutines}")
}
}
@ -33,7 +31,6 @@ kotlin {
dependencies {
implementation(kotlin("test-junit"))
implementation(kotlin("test"))
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.kotlinCoroutines}")
}
}
}

View File

@ -38,12 +38,6 @@ kotlin {
}
}
val commonMain by getting {
dependencies {
implementation(kotlin("stdlib-common"))
}
}
val commonTest by getting {
dependencies {
implementation(kotlin("test-common"))
@ -51,11 +45,7 @@ kotlin {
}
}
val jvmMain by getting {
dependencies {
implementation(kotlin("stdlib-jdk8"))
}
}
val jvmMain by getting
val jvmTest by getting {
dependencies {
@ -67,7 +57,7 @@ kotlin {
val jvmBenchmark by getting {
dependsOn(jvmMain)
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx.benchmark.runtime-jvm:${Versions.kotlinBenchmark}")
implementation("org.jetbrains.kotlinx:kotlinx.benchmark.runtime:${Versions.kotlinBenchmark}")
}
}
}