aboutsummaryrefslogtreecommitdiff
path: root/integration_tests/mockk/build.gradle
blob: 1d590714e454313319e94f3a30bb9b0c34a87ade (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import org.robolectric.gradle.RoboJavaModulePlugin

apply plugin: RoboJavaModulePlugin
apply plugin: 'kotlin'
apply plugin: "com.diffplug.spotless"

spotless {
    kotlin {
        target '**/*.kt'
        ktfmt('0.42').googleStyle()
    }
}

compileTestKotlin {
    kotlinOptions.jvmTarget = "1.8"
}

dependencies {
    api project(":robolectric")
    compileOnly AndroidSdk.MAX_SDK.coordinates

    testCompileOnly AndroidSdk.MAX_SDK.coordinates
    testRuntimeOnly AndroidSdk.MAX_SDK.coordinates
    testImplementation libs.junit4
    testImplementation libs.truth
    testImplementation libs.mockk
}