build.gradle 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. apply plugin: 'com.android.library'
  2. apply from: 'lebian_cust.gradle'
  3. android {
  4. compileSdkVersion 29
  5. buildToolsVersion '29.0.1'
  6. defaultConfig {
  7. minSdkVersion 16
  8. targetSdkVersion 29
  9. manifestPlaceholders = [
  10. "MainChId": lebian.meta_MainChId,
  11. "ClientChId": lebian.meta_ClientChId,
  12. "LEBIAN_SECID": lebian.meta_LEBIAN_SECID,
  13. "LEBIAN_VERCODE": lebian.meta_LEBIAN_VERCODE,
  14. "LEBIAN_APPLICATION": 'com.excelliance.open.LBApplication',
  15. "screenOrientation": lebian.screenOrientation,
  16. "lb_target_pkgname": (lebian.packageName ? lebian.packageName :'${applicationId}'),
  17. "lb_task_Affinity": (lebian.taskAffinity ? lebian.taskAffinity :'${applicationId}')
  18. ]
  19. }
  20. lintOptions {
  21. checkReleaseBuilds false
  22. abortOnError false
  23. }
  24. buildTypes {
  25. debug {
  26. minifyEnabled false
  27. proguardFiles getDefaultProguardFile('proguard-android.txt'), "proguard-rules.pro"
  28. }
  29. release {
  30. minifyEnabled false
  31. proguardFiles getDefaultProguardFile('proguard-android.txt'), "proguard-rules.pro"
  32. }
  33. }
  34. }
  35. dependencies {
  36. api fileTree(include: ['*.jar'], dir: 'libs')
  37. }