2019-12-31 16:46:22 +00:00
|
|
|
apply plugin: 'kotlin'
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compileOnly Deps.detektApi
|
2020-10-30 23:13:18 +00:00
|
|
|
implementation Deps.androidx_annotation
|
2019-12-31 16:46:22 +00:00
|
|
|
|
2020-10-21 17:56:53 +00: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.
|
|
|
|
implementation Deps.kotlin_stdlib_jdk8
|
|
|
|
|
2019-12-31 16:46:22 +00:00
|
|
|
testImplementation Deps.detektApi
|
|
|
|
testImplementation Deps.detektTest
|
|
|
|
testImplementation Deps.junitApi
|
|
|
|
testImplementation Deps.junitParams
|
|
|
|
testRuntimeOnly Deps.junitEngine
|
|
|
|
}
|
|
|
|
|
2020-10-21 18:24:24 +00:00
|
|
|
test {
|
|
|
|
useJUnitPlatform {}
|
|
|
|
}
|