aboutsummaryrefslogtreecommitdiff
path: root/dexmaker-mockito/build.gradle
blob: c3095ad0ab81605cf5f69dade44433b3773412a6 (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
plugins {
    id("net.ltgt.errorprone") version "1.3.0"
}

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

apply plugin: 'java-library'
apply from: "$rootDir/gradle/publishing.gradle"

targetCompatibility = '1.7'
sourceCompatibility = '1.7'

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' }
}