| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion 22
- buildToolsVersion "22.0.1"
- defaultConfig {
- minSdkVersion 8
- targetSdkVersion 22
- versionCode 1
- versionName "1.0"
- testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- }
- dependencies {
- compile fileTree(include: ['*.jar'], dir: 'libs')
- androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
- exclude group: 'com.android.support', module: 'support-annotations'
- })
- compile files('libs/zxing.jar')
- compile 'com.android.support:appcompat-v7:22+'
- compile 'com.android.support:support-v4:22+'
- testCompile 'junit:junit:4.12'
- }
- 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'
|