aboutsummaryrefslogtreecommitdiff
path: root/dexmaker-mockito-inline-tests/build.gradle
blob: 5c86f895f9ca0dd96c5af8430412ab36b9d994f4 (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
47
48
49
50
51
52
53
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'
            warning 'NewApi'
        }
    }

    defaultConfig {
        minSdkVersion 28
        targetSdkVersion 28
        versionName VERSION_NAME

        testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner'
    }

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

repositories {
    jcenter()
    google()
}

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

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