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