mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 18:47:03 +05:30
refactor(build): simplify test dependency setup
This commit is contained in:
parent
c10ec27b51
commit
a5e25e2eb5
4 changed files with 45 additions and 24 deletions
|
@ -4,6 +4,8 @@
|
|||
* license that can be found in the LICENSE file or at
|
||||
* https://opensource.org/licenses/MIT.
|
||||
*/
|
||||
import dev.msfjarvis.claw.gradle.addTestDependencies
|
||||
|
||||
plugins {
|
||||
id("dev.msfjarvis.claw.android-library")
|
||||
id("dev.msfjarvis.claw.kotlin-android")
|
||||
|
@ -33,14 +35,7 @@ dependencies {
|
|||
implementation(libs.sqldelight.primitiveAdapters)
|
||||
implementation(projects.core)
|
||||
|
||||
testImplementation(libs.junit.jupiter.api)
|
||||
testImplementation(libs.kotlinx.coroutines.core)
|
||||
testImplementation(libs.sqldelight.jvmDriver)
|
||||
testImplementation(libs.truth) { exclude(group = "junit", module = "junit") }
|
||||
|
||||
testRuntimeOnly(libs.junit.jupiter.engine)
|
||||
testRuntimeOnly(libs.junit.legacy) {
|
||||
// See https://github.com/google/truth/issues/333
|
||||
because("Truth needs it")
|
||||
}
|
||||
addTestDependencies(project)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue