apply plugin: 'com.android.library'
|
|
|
android {
|
compileSdkVersion 30
|
buildToolsVersion "29.0.1"
|
|
defaultConfig {
|
minSdkVersion 23
|
targetSdkVersion 30
|
versionCode 1
|
versionName "1.0"
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
javaCompileOptions {
|
annotationProcessorOptions {
|
arguments = [moduleName: project.getName()]
|
}
|
}
|
|
}
|
buildTypes {
|
release {
|
minifyEnabled false
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
}
|
}
|
android {
|
lintOptions {
|
abortOnError false
|
}
|
}
|
}
|
|
dependencies {
|
api fileTree(include: ['*.jar'], dir: 'libs')
|
// compileOnly fileTree(include: ['*.jar'], dir: 'libs')
|
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
|
exclude group: 'com.android.support', module: 'support-annotations'
|
})
|
testImplementation 'junit:junit:4.12'
|
api 'com.android.support:support-annotations:28.0.0'
|
// api 'com.android.support:appcompat-v7:28.0.0'
|
api 'androidx.appcompat:appcompat:1.3.0'
|
}
|