[Gradle] Fix test data not including test framework dependency
^KT-63368 Fixed
This commit is contained in:
committed by
Space Team
parent
befa921fd9
commit
c847d427d8
+2
@@ -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 {
|
||||||
|
|||||||
+1
@@ -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 {
|
||||||
|
|||||||
+2
-2
@@ -11,5 +11,5 @@ allOpen {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
testImplementation("junit:junit:4.13.2")
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -22,5 +22,5 @@ allOpen {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
testImplementation("junit:junit:4.13.2")
|
||||||
}
|
}
|
||||||
+4
@@ -7,3 +7,7 @@ repositories {
|
|||||||
mavenLocal()
|
mavenLocal()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
testImplementation "junit:junit:4.13.2"
|
||||||
|
}
|
||||||
+5
@@ -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")
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user