[Gradle] Fix test data not including test framework dependency

^KT-63368 Fixed
This commit is contained in:
Yahor Berdnikau
2023-11-28 09:24:54 +01:00
committed by Space Team
parent befa921fd9
commit c847d427d8
6 changed files with 15 additions and 3 deletions
@@ -9,6 +9,8 @@ dependencies {
// unused but needed for IncrementalCompilationMultiProjectIT.testAndroid to check if non-local dependency affects IC // unused but needed for IncrementalCompilationMultiProjectIT.testAndroid to check if non-local dependency affects IC
implementation 'io.reactivex:rxjava:1.1.9' implementation 'io.reactivex:rxjava:1.1.9'
implementation 'com.loopj.android:android-async-http:1.4.9' implementation 'com.loopj.android:android-async-http:1.4.9'
testImplementation "junit:junit:4.13.2"
} }
java { java {
@@ -7,6 +7,7 @@ plugins {
dependencies { dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation "junit:junit:4.13.2"
} }
java { java {
@@ -11,5 +11,5 @@ allOpen {
} }
dependencies { dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" testImplementation("junit:junit:4.13.2")
} }
@@ -22,5 +22,5 @@ allOpen {
} }
dependencies { dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" testImplementation("junit:junit:4.13.2")
} }
@@ -7,3 +7,7 @@ repositories {
mavenLocal() mavenLocal()
mavenCentral() mavenCentral()
} }
dependencies {
testImplementation "junit:junit:4.13.2"
}
@@ -28,5 +28,10 @@ kotlin {
implementation("com.squareup.okio:okio:3.2.0") implementation("com.squareup.okio:okio:3.2.0")
} }
} }
getByName("commonTest") {
dependencies {
implementation("org.jetbrains.kotlin:kotlin-test")
}
}
} }
} }