build.gradle 1016 B

12345678910111213141516171819202122232425262728293031323334
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion rootProject.ext.android.compileSdkVersion
  4. buildToolsVersion rootProject.ext.android.buildToolsVersion
  5. defaultConfig {
  6. minSdkVersion rootProject.ext.android.minSdkVersion
  7. targetSdkVersion rootProject.ext.android.targetSdkVersion
  8. versionCode rootProject.ext.android.versionCode
  9. versionName rootProject.ext.android.versionName
  10. }
  11. buildTypes {
  12. release {
  13. minifyEnabled false
  14. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  15. }
  16. }
  17. }
  18. dependencies {
  19. implementation fileTree(include: ['*.jar'], dir: 'libs')
  20. implementation deps.appcompatV7
  21. testImplementation deps.junit
  22. }
  23. ext {
  24. PUBLISH_GROUP_ID = 'cn.yipianfengye.android'
  25. PUBLISH_ARTIFACT_ID = 'zxing-library'
  26. PUBLISH_VERSION = '1.9'
  27. }
  28. //apply from: 'https://raw.githubusercontent.com/blundell/release-android-library/master/android-release-aar.gradle'