Skip to content

Commit

Permalink
Cleanup Kotlin dependencies in Kruth
Browse files Browse the repository at this point in the history
I noticed we have some redundant declarations while looking into getting
the common source to access the commonized AssertionFailure(String?,
Error?) constructor, which is needed to pass a cause / stacktrace
through for Truth's failure messaging.

Test: ANDROIDX_PROJECTS=INFRAROGUE ./gradlew kruth:kruth:allTests --no-configuration-cache --no-build-cache -Pandroidx.enabled.kmp.target.platforms=+LINUX --rerun-tasks
Change-Id: I46915859befd8c055b938436575de27d378fa36e
  • Loading branch information
dlam committed Dec 19, 2023
1 parent bae1981 commit 008feae
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions kruth/kruth/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ androidXMultiplatform {

commonTest {
dependencies {
implementation(libs.kotlinTestCommon)
implementation(libs.kotlinTestAnnotationsCommon)
}
}
Expand All @@ -61,13 +60,6 @@ androidXMultiplatform {
}
}

jvmTest {
dependencies {
implementation(libs.kotlinStdlib)
implementation(libs.kotlinTest)
}
}

if (macEnabled || linuxEnabled || nativeEnabled) {
nativeMain {
dependsOn(commonMain)
Expand Down

0 comments on commit 008feae

Please sign in to comment.