build.gradle 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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. implementation 'androidx.appcompat:appcompat:1.2.0'
  23. }
  24. ext {
  25. PUBLISH_GROUP_ID = 'cn.yipianfengye.android'
  26. PUBLISH_ARTIFACT_ID = 'zxing-library'
  27. PUBLISH_VERSION = '1.9'
  28. }
  29. //apply from: 'https://raw.githubusercontent.com/blundell/release-android-library/master/android-release-aar.gradle'