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

22 lines
624 B
Groovy
Raw Permalink Normal View History

2024-12-12 08:45:34 +01:00
apply plugin: 'kotlin'
dependencies {
compileOnly Deps.detektApi
implementation Deps.androidx_annotation
// 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.
implementation Deps.kotlin_stdlib_jdk8
testImplementation Deps.detektApi
testImplementation Deps.detektTest
testImplementation Deps.junitApi
testImplementation Deps.junitParams
testRuntimeOnly Deps.junitEngine
}
test {
useJUnitPlatform {}
}