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 } 23 } 24 25 defaultConfig { 26 minSdkVersion 28 27 targetSdkVersion 28 28 versionName VERSION_NAME 29 30 testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' 31 } 32 33 compileOptions { 34 targetCompatibility 1.8 35 sourceCompatibility 1.8 36 } 37} 38 39repositories { 40 jcenter() 41 google() 42} 43 44dependencies { 45 implementation project(':dexmaker-mockito-inline-tests') 46 compileOnly project(':dexmaker-mockito-inline-extended') 47 androidTestImplementation project(':dexmaker-mockito-inline-extended') 48 49 implementation 'junit:junit:4.12' 50 implementation 'com.android.support.test:runner:1.0.2' 51 implementation 'com.android.support.test:rules:1.0.2' 52 53 api 'org.mockito:mockito-core:2.21.0', { exclude group: 'net.bytebuddy' } 54} 55