LeOSium-WF/mozilla-detekt-rules/build.gradle

22 lines
624 B
Groovy
Raw Normal View History

2024-12-12 08:45:34 +01:00
apply plugin: 'kotlin'
dependencies {
2025-06-30 10:56:29 +02:00
compileOnly libs.detektApi
implementation libs.androidx.annotation
2024-12-12 08:45:34 +01:00
// I didn't look thoroughly enough to really know what's going on here but I think
// the detekt API uses jdk8 so if we provide jdk7, the dependency collision system
// doesn't work and there are duplicate APIs with different versions in the output.
2025-06-30 10:56:29 +02:00
implementation libs.kotlin.stdlib.jdk8
2024-12-12 08:45:34 +01:00
2025-06-30 10:56:29 +02:00
testImplementation libs.detektApi
testImplementation libs.detektTest
testImplementation libs.junitApi
testImplementation libs.junitParams
testRuntimeOnly libs.junitEngine
2024-12-12 08:45:34 +01:00
}
test {
useJUnitPlatform {}
}