build.gradle 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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.eyuangame.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 'com.huawei.hms:iap:6.3.0.300'
  37. api 'com.huawei.hms:game:6.2.0.300'
  38. api 'com.huawei.hms:hianalytics:6.4.0.300'
  39. api 'com.huawei.agconnect:agconnect-crash:1.6.4.300'
  40. api "com.huawei.agconnect:agconnect-auth:1.6.4.300"
  41. api "com.huawei.agconnect:agconnect-auth-huawei:1.6.4.300"
  42. api "com.huawei.agconnect:agconnect-auth-facebook:1.6.4.300"
  43. api "com.huawei.agconnect:agconnect-auth-google:1.6.4.300"
  44. api 'com.huawei.hms:hwid:6.4.0.300'
  45. api 'com.facebook.android:facebook-login:12.3.0'
  46. api 'com.google.android.gms:play-services-auth:20.1.0'
  47. }
  48. apply from: 'publish.gradle'