Updated on 2026-08-14

This commit is contained in:
Tangem 2026-06-04 14:05:23 +04:00
parent eeb74486ef
commit 7c9112fa70
79 changed files with 12 additions and 428 deletions

View file

@ -3,11 +3,6 @@ plugins {
alias(deps.plugins.kotlin.kapt)
id("configuration")
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
/** DI */
@ -32,5 +27,4 @@ dependencies {
/** Tests */
testImplementation(projects.test.core)
testRuntimeOnly(deps.test.junit5.engine)
}

View file

@ -62,11 +62,6 @@ tasks.named("preBuild") {
tasks.withType<Detekt>().configureEach {
exclude { it.file.absolutePath.contains("/build/generated/") }
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
/** DI */
implementation(deps.hilt.android)
@ -85,5 +80,4 @@ dependencies {
implementation(projects.core.utils)
testImplementation(projects.test.core)
testRuntimeOnly(deps.test.junit5.engine)
}

View file

@ -58,11 +58,6 @@ androidComponents {
variant.sources.java?.addGeneratedSourceDirectory(taskProvider, GenerateEnvironmentConfigTask::outputDir)
}
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
/** Project */
@ -131,5 +126,4 @@ dependencies {
ksp(deps.room.compiler)
testImplementation(projects.test.core)
testRuntimeOnly(deps.test.junit5.engine)
}

View file

@ -86,11 +86,6 @@ abstract class VerifyDesignTokensTask : DefaultTask() {
.joinToString("") { b: Byte -> b.toInt().and(0xFF).toString(16).padStart(2, '0') }
}
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
android {
namespace = "com.tangem.core.ui"
@ -174,5 +169,4 @@ dependencies {
testImplementation(deps.test.mockk)
testImplementation(deps.test.truth)
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
}

View file

@ -4,11 +4,6 @@ plugins {
alias(deps.plugins.kotlin.serialization)
id("configuration")
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
// region DI
@ -27,7 +22,6 @@ dependencies {
testImplementation(deps.test.coroutine)
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.truth)
testImplementation(deps.test.mockk)
}