2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-07 15:20:38 +00:00
iceraven-browser/mozilla-detekt-rules/build.gradle

22 lines
728 B
Groovy

apply plugin: 'kotlin'
dependencies {
compileOnly FenixDependencies.detektApi
implementation FenixDependencies.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 FenixDependencies.kotlin_stdlib_jdk8
testImplementation FenixDependencies.detektApi
testImplementation FenixDependencies.detektTest
testImplementation FenixDependencies.junitApi
testImplementation FenixDependencies.junitParams
testRuntimeOnly FenixDependencies.junitEngine
}
test {
useJUnitPlatform {}
}