build.gradle 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. apply from: rootProject.file('cc-settings.gradle')
  2. apply from: rootProject.file('common-build.gradle')
  3. android {
  4. compileSdkVersion rootProject.compile_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-optimize.txt'), 'proguard-rules.pro'
  15. }
  16. }
  17. compileOptions {
  18. targetCompatibility 1.8
  19. sourceCompatibility 1.8
  20. }
  21. kotlinOptions {
  22. jvmTarget = '1.8'
  23. }
  24. android.buildFeatures {
  25. dataBinding = false
  26. viewBinding = false
  27. }
  28. }
  29. repositories {
  30. flatDir {
  31. dirs 'aars'
  32. }
  33. }
  34. dependencies {
  35. implementation files('aars/alipaySdk-15.7.9-20200727142846.aar')
  36. implementation project(':base')
  37. }