build.gradle 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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 false
  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.channel.huawei"]
  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. api files('libs/apptouch-5.1.0.300.jar')
  37. api files('libs/gameservicesdk-game-6.1.0.301.jar')
  38. api files('libs/hms-base.jar')
  39. api files('libs/hmssdk-iap-6.3.0.300.jar')
  40. api files('libs/okhttp-3.11.0.jar')
  41. api files('libs/okio-1.14.0.jar')
  42. // 华为分析服务
  43. api files('libs/hianalytics-6.3.2.300.jar')
  44. api files('libs/hianalytics-core-6.3.2.300.jar')
  45. api files('libs/hianalytics-framework-6.3.2.300.jar')
  46. api files('libs/hms-opendevice-5.1.1.306.jar')
  47. api files('libs/greendao-3.3.0.jar')
  48. api files('libs/greendao-api-3.3.0.jar')
  49. // 崩溃服务
  50. api files('libs/crash-1.6.3.300.jar')
  51. // 华为认证服务
  52. api files('libs/hmssdk-hwid-6.3.0.301.jar')
  53. api files('libs/hms-auth-1.6.3.300.jar')
  54. api files('libs/hms-auth-huawei-1.6.3.300.jar')
  55. api files('libs/hms-auth-google-1.6.3.300.jar')
  56. api files('libs/hms-auth-facebook-1.6.3.300.jar')
  57. // facebook-login
  58. // api files('libs/facebook-comm-12.3.0.jar')
  59. // api files('libs/facebook-core-12.3.0.jar')
  60. // api files('libs/facebook-login-12.3.0.jar')
  61. // implementation 'com.facebook.android:facebook-login:12.3.0'
  62. // implementation 'com.google.android.gms:play-services-auth:20.1.0'
  63. api project(':component:google-auth:play-services-auth')
  64. api project(':component:google-auth:play-services-auth-api-phone')
  65. api project(':component:google-auth:play-services-auth-base')
  66. api project(':component:google-auth:play-services-base')
  67. api project(':component:google-auth:play-services-basement')
  68. api project(':component:google-auth:play-services-tasks')
  69. api project(':component:facebook-auth:facebook-comm')
  70. api project(':component:facebook-auth:facebook-core')
  71. api project(':component:facebook-auth:facebook-login')
  72. }