1buildscript {
2    repositories {
3        maven {
4            url "https://plugins.gradle.org/m2/"
5        }
6    }
7    dependencies {
8        classpath "net.ltgt.gradle:gradle-errorprone-plugin:0.0.13"
9    }
10}
11
12apply plugin: "net.ltgt.errorprone"
13apply plugin: 'com.android.library'
14
15android {
16    compileSdkVersion 28
17    buildToolsVersion '28.0.3'
18
19    android {
20        lintOptions {
21            disable 'InvalidPackage'
22            warning 'NewApi'
23        }
24    }
25
26    defaultConfig {
27        minSdkVersion 28
28        targetSdkVersion 28
29        versionName VERSION_NAME
30
31        testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
32    }
33
34    externalNativeBuild {
35        cmake {
36            path 'CMakeLists.txt'
37        }
38    }
39}
40
41repositories {
42    jcenter()
43    google()
44}
45
46dependencies {
47    implementation project(':dexmaker-mockito-tests')
48    compileOnly project(':dexmaker-mockito-inline')
49    androidTestImplementation project(':dexmaker-mockito-inline')
50
51    implementation 'junit:junit:4.12'
52    implementation 'com.android.support.test:runner:1.0.2'
53    api 'org.mockito:mockito-core:2.21.0', { exclude group: 'net.bytebuddy' }
54}
55