xref: /aosp_15_r20/external/dexmaker/dexmaker-mockito-inline-tests/build.gradle (revision 2ffc472c461b441c3ddd38c52c72da5a6be8f680)
1apply plugin: 'com.android.library'
2
3android {
4    compileSdkVersion 32
5
6    android {
7        lintOptions {
8            disable 'InvalidPackage'
9            warning 'NewApi'
10        }
11    }
12
13    defaultConfig {
14        minSdkVersion 28
15        targetSdkVersion 32
16
17        testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
18    }
19
20    externalNativeBuild {
21        cmake {
22            path 'CMakeLists.txt'
23        }
24    }
25}
26
27dependencies {
28    implementation project(':dexmaker-mockito-tests')
29    compileOnly project(':dexmaker-mockito-inline')
30    androidTestImplementation project(':dexmaker-mockito-inline')
31
32    implementation 'junit:junit:4.13.2'
33    implementation 'androidx.test:runner:1.4.0'
34    api 'org.mockito:mockito-core:2.28.2', { exclude group: 'net.bytebuddy' }
35}
36