12345678910111213141516171819202122232425262728293031323334 |
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion rootProject.ext.android.compileSdkVersion
- buildToolsVersion rootProject.ext.android.buildToolsVersion
- defaultConfig {
- minSdkVersion rootProject.ext.android.minSdkVersion
- targetSdkVersion rootProject.ext.android.targetSdkVersion
- versionCode rootProject.ext.android.versionCode
- versionName rootProject.ext.android.versionName
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- }
- dependencies {
- api fileTree(include: ['*.jar'], dir: 'libs')
- api deps.appcompatV7
- testImplementation deps.junit
- }
- ext {
- PUBLISH_GROUP_ID = 'cn.yipianfengye.android'
- PUBLISH_ARTIFACT_ID = 'zxing-library'
- PUBLISH_VERSION = '1.9'
- }
- //apply from: 'https://raw.githubusercontent.com/blundell/release-android-library/master/android-release-aar.gradle'
|