aboutsummaryrefslogtreecommitdiff
path: root/dexmaker-mockito-tests/build.gradle
blob: 9379d1757e94b8e06b4dd503397d0a199698412d (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
45
46
buildscript {
    repositories {
        maven {
            url "https://plugins.gradle.org/m2/"
        }
    }
    dependencies {
        classpath "net.ltgt.gradle:gradle-errorprone-plugin:0.0.13"
    }
}

apply plugin: "net.ltgt.errorprone"
apply plugin: 'com.android.library'

android {
    compileSdkVersion 28

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

    defaultConfig {
        minSdkVersion 8
        targetSdkVersion 28
        versionName VERSION_NAME

        testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
    }
}

repositories {
    jcenter()
    google()
}

dependencies {
    compileOnly project(':dexmaker-mockito')
    androidTestImplementation project(':dexmaker-mockito')

    implementation 'com.android.support.test:runner:0.5'
    implementation 'junit:junit:4.12'
    api 'org.mockito:mockito-core:2.25.0', { exclude group: 'net.bytebuddy' }
}