Skip to content

Commit 2163309

Browse files
committed
build: fixed dependencies on kotlin-test
1 parent 0f4ed10 commit 2163309

File tree

12 files changed

+13
-48
lines changed

12 files changed

+13
-48
lines changed

light-model-client/build.gradle.kts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ kotlin {
4444
val commonTest by getting {
4545
dependencies {
4646
implementation(libs.kotlin.coroutines.test)
47-
implementation(kotlin("test-common"))
48-
implementation(kotlin("test-annotations-common"))
47+
implementation(kotlin("test"))
4948
}
5049
}
5150
val jvmMain by getting {
@@ -55,7 +54,6 @@ kotlin {
5554
}
5655
val jvmTest by getting {
5756
dependencies {
58-
implementation(kotlin("test"))
5957

6058
implementation(project(":authorization"))
6159
// implementation(project(":model-client"))
@@ -81,7 +79,6 @@ kotlin {
8179
}
8280
val jsTest by getting {
8381
dependencies {
84-
implementation(kotlin("test-js"))
8582
implementation(npm("jsdom-global", "3.0.2"))
8683
implementation(npm("jsdom", "20.0.2"))
8784
}

model-api-gen-gradle-test/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ dependencies {
4646
implementation("org.modelix:modelql-typed:$modelixCoreVersion")
4747
implementation("org.modelix:modelql-untyped:$modelixCoreVersion")
4848

49-
testImplementation(kotlin("test-common"))
50-
testImplementation(kotlin("test-annotations-common"))
5149
testImplementation(kotlin("test"))
5250
testImplementation(kotlin("reflect"))
5351

model-api-gen-runtime/build.gradle.kts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ kotlin {
3535
}
3636
val commonTest by getting {
3737
dependencies {
38-
implementation(kotlin("test-common"))
39-
implementation(kotlin("test-annotations-common"))
38+
implementation(kotlin("test"))
4039
}
4140
}
4241
val jvmMain by getting {
@@ -46,7 +45,6 @@ kotlin {
4645
}
4746
val jvmTest by getting {
4847
dependencies {
49-
implementation(kotlin("test"))
5048
}
5149
}
5250
val jsMain by getting {
@@ -55,7 +53,6 @@ kotlin {
5553
}
5654
val jsTest by getting {
5755
dependencies {
58-
implementation(kotlin("test-js"))
5956
}
6057
}
6158
}

model-api/build.gradle.kts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ kotlin {
3838
}
3939
val commonTest by getting {
4040
dependencies {
41-
implementation(kotlin("test-common"))
42-
implementation(kotlin("test-annotations-common"))
41+
implementation(kotlin("test"))
4342
}
4443
}
4544
val jvmMain by getting {
@@ -50,7 +49,6 @@ kotlin {
5049
}
5150
val jvmTest by getting {
5251
dependencies {
53-
implementation(kotlin("test"))
5452
}
5553
}
5654
val jsMain by getting {
@@ -63,7 +61,6 @@ kotlin {
6361
}
6462
val jsTest by getting {
6563
dependencies {
66-
implementation(kotlin("test-js"))
6764
}
6865
}
6966
}

model-client/build.gradle.kts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ kotlin {
4242
api(project(":model-api"))
4343
api(project(":model-datastructure"))
4444
api(project(":model-server-api"))
45-
kotlin("stdlib-common")
45+
implementation(kotlin("stdlib-common"))
4646
implementation(libs.kotlin.collections.immutable)
4747
implementation(libs.kotlin.coroutines.core)
4848
implementation(libs.kotlin.logging)
@@ -55,13 +55,12 @@ kotlin {
5555
}
5656
val commonTest by getting {
5757
dependencies {
58-
kotlin("test-common")
59-
kotlin("test-annotations-common")
58+
implementation(kotlin("test"))
6059
}
6160
}
6261
val jvmMain by getting {
6362
dependencies {
64-
kotlin("stdlib-jdk8")
63+
implementation(kotlin("stdlib-jdk8"))
6564

6665
implementation(libs.vavr)
6766
implementation(libs.apache.commons.lang)
@@ -83,7 +82,6 @@ kotlin {
8382
}
8483
val jvmTest by getting {
8584
dependencies {
86-
implementation(kotlin("test"))
8785
}
8886
}
8987
val jsMain by getting {
@@ -96,7 +94,6 @@ kotlin {
9694
}
9795
val jsTest by getting {
9896
dependencies {
99-
implementation(kotlin("test-js"))
10097
}
10198
}
10299
}

model-datastructure/build.gradle.kts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ kotlin {
3535
}
3636
val commonTest by getting {
3737
dependencies {
38-
kotlin("test-common")
39-
kotlin("test-annotations-common")
38+
implementation(kotlin("test"))
4039
}
4140
}
4241
val jvmMain by getting {
@@ -63,7 +62,6 @@ kotlin {
6362
}
6463
val jvmTest by getting {
6564
dependencies {
66-
implementation(kotlin("test"))
6765
}
6866
}
6967
val jsMain by getting {
@@ -77,7 +75,6 @@ kotlin {
7775
}
7876
val jsTest by getting {
7977
dependencies {
80-
implementation(kotlin("test-js"))
8178
}
8279
}
8380
}

model-server-api/build.gradle.kts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ kotlin {
3838
val commonTest by getting {
3939
dependencies {
4040
// implementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:$kotlinCoroutinesVersion")
41-
implementation(kotlin("test-common"))
42-
implementation(kotlin("test-annotations-common"))
41+
implementation(kotlin("test"))
4342
}
4443
}
4544
val jvmMain by getting {
@@ -48,7 +47,6 @@ kotlin {
4847
}
4948
val jvmTest by getting {
5049
dependencies {
51-
implementation(kotlin("test"))
5250
}
5351
}
5452
val jsMain by getting {
@@ -57,7 +55,6 @@ kotlin {
5755
}
5856
val jsTest by getting {
5957
dependencies {
60-
implementation(kotlin("test-js"))
6158
// implementation(npm("jsdom-global", "3.0.2"))
6259
// implementation(npm("jsdom", "20.0.2"))
6360
}

modelql-client/build.gradle.kts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ kotlin {
4848
val commonTest by getting {
4949
dependencies {
5050
implementation(libs.kotlin.coroutines.test)
51-
implementation(kotlin("test-common"))
52-
implementation(kotlin("test-annotations-common"))
51+
implementation(kotlin("test"))
5352
}
5453
}
5554
val jvmMain by getting {
@@ -59,7 +58,6 @@ kotlin {
5958
}
6059
val jvmTest by getting {
6160
dependencies {
62-
implementation(kotlin("test"))
6361

6462
implementation(project(":model-client", configuration = "jvmRuntimeElements"))
6563
implementation(project(":modelql-server"))
@@ -84,7 +82,6 @@ kotlin {
8482
}
8583
val jsTest by getting {
8684
dependencies {
87-
implementation(kotlin("test-js"))
8885
implementation(npm("jsdom-global", "3.0.2"))
8986
implementation(npm("jsdom", "20.0.2"))
9087
}

modelql-core/build.gradle.kts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ kotlin {
4646
val commonTest by getting {
4747
dependencies {
4848
implementation(libs.kotlin.coroutines.test)
49-
implementation(kotlin("test-common"))
50-
implementation(kotlin("test-annotations-common"))
49+
implementation(kotlin("test"))
5150
}
5251
}
5352
val jvmMain by getting {
@@ -56,7 +55,6 @@ kotlin {
5655
}
5756
val jvmTest by getting {
5857
dependencies {
59-
implementation(kotlin("test"))
6058
}
6159
}
6260
val jsMain by getting {
@@ -65,7 +63,6 @@ kotlin {
6563
}
6664
val jsTest by getting {
6765
dependencies {
68-
implementation(kotlin("test-js"))
6966
}
7067
}
7168
}

modelql-html/build.gradle.kts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ kotlin {
4242
val commonTest by getting {
4343
dependencies {
4444
implementation(libs.kotlin.coroutines.test)
45-
implementation(kotlin("test-common"))
46-
implementation(kotlin("test-annotations-common"))
45+
implementation(kotlin("test"))
4746
}
4847
}
4948
val jvmMain by getting {
@@ -53,7 +52,6 @@ kotlin {
5352
}
5453
val jvmTest by getting {
5554
dependencies {
56-
implementation(kotlin("test"))
5755
}
5856
}
5957
val jsMain by getting {
@@ -62,7 +60,6 @@ kotlin {
6260
}
6361
val jsTest by getting {
6462
dependencies {
65-
implementation(kotlin("test-js"))
6663
}
6764
}
6865
}

0 commit comments

Comments
 (0)