build.gradle 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. plugins {
  2. id 'com.android.library'
  3. id 'kotlin-android'
  4. }
  5. android {
  6. compileSdk rootProject.ext.android.compileSdk
  7. buildToolsVersion rootProject.ext.android.buildToolsVersion
  8. defaultConfig {
  9. minSdk rootProject.ext.android.minSdk
  10. targetSdk rootProject.ext.android.targetSdk
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled rootProject.ext.module.minifyEnabled
  15. proguardFiles 'proguard-rules.pro'
  16. }
  17. }
  18. buildFeatures {
  19. buildConfig false
  20. }
  21. lintOptions {
  22. abortOnError false
  23. }
  24. compileOptions {
  25. kotlinOptions.freeCompilerArgs += ['-module-name', "cn.yyxx.eyuancomm.impl"]
  26. }
  27. compileOptions {
  28. sourceCompatibility JavaVersion.VERSION_1_8
  29. targetCompatibility JavaVersion.VERSION_1_8
  30. }
  31. kotlinOptions {
  32. jvmTarget = "1.8"
  33. }
  34. }
  35. dependencies {
  36. compileOnly project(':library_comm')
  37. compileOnly project(':module_eyuan:library_eyuan')
  38. compileOnly project(':channel_registry:channel_oppo')
  39. compileOnly project(':channel_registry:channel_vivo')
  40. compileOnly project(':channel_registry:channel_huawei')
  41. }