build.gradle 988 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. apply plugin: 'com.android.library'
  2. apply from: rootProject.file('common-build.gradle')
  3. android {
  4. compileSdkVersion rootProject.target_sdk_version
  5. defaultConfig {
  6. minSdkVersion rootProject.min_sdk_version
  7. targetSdkVersion rootProject.target_sdk_version
  8. versionCode rootProject.application_version_code
  9. versionName rootProject.application_version_name
  10. }
  11. buildTypes {
  12. release {
  13. minifyEnabled false
  14. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  15. }
  16. }
  17. packagingOptions {
  18. exclude 'META-INF/XXXX'
  19. }
  20. compileOptions {
  21. sourceCompatibility JavaVersion.VERSION_1_8
  22. targetCompatibility JavaVersion.VERSION_1_8
  23. }
  24. }
  25. dependencies {
  26. implementation fileTree(dir: "libs", include: ["*.jar", "*.aar"])
  27. implementation project(':base')
  28. //支付宝
  29. // implementation files('libs/alipaysdk-15.8.01.210112203525.aar')
  30. }