aboutsummaryrefslogtreecommitdiff
path: root/dexmaker-mockito-inline/build.gradle
blob: dcffd651bd667a5a34f0e503e4b94c40d29dda98 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
plugins {
    id("net.ltgt.errorprone") version "1.3.0"
}
apply plugin: 'com.android.library'
apply from: "$rootDir/gradle/publishing_aar.gradle"

description = 'Implementation of the Mockito Inline API for use on the Android Dalvik VM'

android {
    compileSdkVersion 32

    android {
        lintOptions {
            disable 'InvalidPackage'
            warning 'NewApi'
        }
    }

    defaultConfig {
        minSdkVersion 1
        targetSdkVersion 32
    }

    externalNativeBuild {
        cmake {
            path 'CMakeLists.txt'
        }
    }
}

tasks.withType(JavaCompile) {
    options.errorprone {
        disable("StringSplitter")
    }
}

dependencies {
    errorprone "com.google.errorprone:error_prone_core:2.5.1"
    errorproneJavac "com.google.errorprone:javac:9+181-r4173-1"

    implementation project(':dexmaker')

    api 'org.mockito:mockito-core:2.28.2', { exclude group: 'net.bytebuddy' }
}