2019-01-09 23:10:07 +08:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
|
|
|
def libraryVersionCode = 1
|
|
|
|
def libraryVersionName = "1.0"
|
|
|
|
|
|
|
|
android {
|
2021-05-08 00:11:00 +08:00
|
|
|
compileSdkVersion rootProject.ext.android.COMPILE_SDK_VERSION
|
2019-01-09 23:10:07 +08:00
|
|
|
|
2021-05-08 00:11:00 +08:00
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion rootProject.ext.android.MIN_SDK_VERSION
|
|
|
|
targetSdkVersion rootProject.ext.android.TARGET_SDK_VERSION
|
|
|
|
versionCode libraryVersionCode
|
|
|
|
versionName libraryVersionName
|
|
|
|
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
|
|
|
}
|
2019-01-09 23:10:07 +08:00
|
|
|
|
2021-05-08 00:11:00 +08:00
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
2019-01-09 23:10:07 +08:00
|
|
|
}
|
2021-05-08 00:11:00 +08:00
|
|
|
}
|
2019-01-09 23:10:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-05-08 00:11:00 +08:00
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
|
|
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', {
|
|
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
|
|
})
|
|
|
|
testImplementation rootProject.ext.deps["junit"]
|
2019-01-09 23:10:07 +08:00
|
|
|
}
|