mirror of
https://github.com/jlengrand/detekt.git
synced 2026-03-10 08:11:23 +00:00
Clean up gradle files for modules migrated to junit (#4516)
Co-authored-by: Markus Schwarz <post@markus-schwarz.net>
This commit is contained in:
@@ -17,10 +17,9 @@ dependencies {
|
||||
|
||||
testRuntimeOnly(projects.detektRules)
|
||||
testRuntimeOnly(projects.detektFormatting)
|
||||
testRuntimeOnly(libs.spek.runner)
|
||||
testImplementation(projects.detektTest)
|
||||
testImplementation(testFixtures(projects.detektApi))
|
||||
testImplementation(libs.mockk)
|
||||
testImplementation(libs.reflections)
|
||||
testImplementation(libs.bundles.testImplementation)
|
||||
testImplementation(libs.assertj)
|
||||
}
|
||||
|
||||
@@ -15,9 +15,7 @@ dependencies {
|
||||
}
|
||||
|
||||
testImplementation(projects.detektTest)
|
||||
testImplementation(libs.bundles.testImplementation)
|
||||
|
||||
testRuntimeOnly(libs.spek.runner)
|
||||
testImplementation(libs.assertj)
|
||||
}
|
||||
|
||||
tasks.build { finalizedBy(":detekt-generator:generateDocumentation") }
|
||||
|
||||
@@ -7,6 +7,5 @@ dependencies {
|
||||
testImplementation(projects.detektTestUtils)
|
||||
testImplementation(testFixtures(projects.detektApi))
|
||||
testImplementation(libs.mockk)
|
||||
testImplementation(libs.bundles.testImplementation)
|
||||
testRuntimeOnly(libs.spek.runner)
|
||||
testImplementation(libs.assertj)
|
||||
}
|
||||
|
||||
@@ -8,8 +8,7 @@ dependencies {
|
||||
api(libs.kotlin.compilerEmbeddable)
|
||||
implementation(projects.detektPsiUtils)
|
||||
testImplementation(projects.detektTestUtils)
|
||||
testImplementation(libs.bundles.testImplementation)
|
||||
testRuntimeOnly(libs.spek.runner)
|
||||
testImplementation(libs.assertj)
|
||||
}
|
||||
|
||||
tasks.withType<Test> {
|
||||
|
||||
@@ -13,6 +13,5 @@ dependencies {
|
||||
testImplementation(projects.detektTestUtils)
|
||||
testImplementation(testFixtures(projects.detektApi))
|
||||
testImplementation(libs.mockk)
|
||||
testImplementation(libs.bundles.testImplementation)
|
||||
testRuntimeOnly(libs.spek.runner)
|
||||
testImplementation(libs.assertj)
|
||||
}
|
||||
|
||||
@@ -9,6 +9,5 @@ dependencies {
|
||||
testImplementation(projects.detektTooling)
|
||||
testImplementation(projects.detektTestUtils)
|
||||
testImplementation(testFixtures(projects.detektApi))
|
||||
testImplementation(libs.bundles.testImplementation)
|
||||
testRuntimeOnly(libs.spek.runner)
|
||||
testImplementation(libs.assertj)
|
||||
}
|
||||
|
||||
@@ -5,6 +5,5 @@ plugins {
|
||||
dependencies {
|
||||
implementation(projects.detektApi)
|
||||
testImplementation(testFixtures(projects.detektApi))
|
||||
testImplementation(libs.bundles.testImplementation)
|
||||
testRuntimeOnly(libs.spek.runner)
|
||||
testImplementation(libs.assertj)
|
||||
}
|
||||
|
||||
@@ -5,6 +5,5 @@ plugins {
|
||||
dependencies {
|
||||
implementation(projects.detektApi)
|
||||
testImplementation(testFixtures(projects.detektApi))
|
||||
testImplementation(libs.bundles.testImplementation)
|
||||
testRuntimeOnly(libs.spek.runner)
|
||||
testImplementation(libs.assertj)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user