Home | History | Annotate | Download | only in dexmaker-mockito-tests
      1 buildscript {
      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 
     12 apply plugin: "net.ltgt.errorprone"
     13 apply plugin: 'com.android.library'
     14 
     15 android {
     16     compileSdkVersion 28
     17 
     18     android {
     19         lintOptions {
     20             disable 'InvalidPackage'
     21             disable 'NewApi'
     22         }
     23     }
     24 
     25     defaultConfig {
     26         minSdkVersion 8
     27         targetSdkVersion 28
     28         versionName VERSION_NAME
     29 
     30         testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
     31     }
     32 }
     33 
     34 repositories {
     35     jcenter()
     36     google()
     37 }
     38 
     39 dependencies {
     40     compileOnly project(':dexmaker-mockito')
     41     androidTestImplementation project(':dexmaker-mockito')
     42 
     43     implementation 'com.android.support.test:runner:0.5'
     44     implementation 'junit:junit:4.12'
     45     api 'org.mockito:mockito-core:2.21.0', { exclude group: 'net.bytebuddy' }
     46 }
     47