37 lines
1022 B
Groovy
37 lines
1022 B
Groovy
|
|
apply plugin: 'com.android.library'
|
||
|
|
|
||
|
|
android {
|
||
|
|
compileSdkVersion 32
|
||
|
|
|
||
|
|
defaultConfig {
|
||
|
|
minSdkVersion 24
|
||
|
|
targetSdkVersion 32
|
||
|
|
|
||
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||
|
|
|
||
|
|
}
|
||
|
|
buildTypes {
|
||
|
|
release {
|
||
|
|
minifyEnabled false
|
||
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||
|
|
}
|
||
|
|
}
|
||
|
|
namespace 'com.uuzuche.lib_zxing'
|
||
|
|
}
|
||
|
|
|
||
|
|
dependencies {
|
||
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||
|
|
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
|
||
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
||
|
|
})
|
||
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
||
|
|
}
|
||
|
|
//
|
||
|
|
//ext {
|
||
|
|
// PUBLISH_GROUP_ID = 'cn.yipianfengye.android'
|
||
|
|
// PUBLISH_ARTIFACT_ID = 'zxing-library'
|
||
|
|
// PUBLISH_VERSION = '2.2'
|
||
|
|
//}
|
||
|
|
//
|
||
|
|
//apply from: 'https://raw.githubusercontent.com/blundell/release-android-library/master/android-release-aar.gradle'
|