build.gradle 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. plugins {
  2. id 'com.android.library'
  3. id 'org.jetbrains.kotlin.android'
  4. id 'maven-publish'
  5. }
  6. ext {
  7. GROUP_ID = 'com.wenext.android'
  8. ARTIFACT_ID = 'frame-share'
  9. VERSION = '6.0.3'
  10. }
  11. apply from: "../../publish.gradle"
  12. android {
  13. namespace 'com.adealink.frame.share'
  14. compileSdk libs.versions.compileSdk.get().toInteger()
  15. defaultConfig {
  16. minSdk libs.versions.minSdk.get().toInteger()
  17. targetSdk libs.versions.targetSdk.get().toInteger()
  18. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  19. consumerProguardFiles "consumer-rules.pro"
  20. }
  21. buildTypes {
  22. release {
  23. minifyEnabled false
  24. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  25. }
  26. }
  27. compileOptions {
  28. sourceCompatibility JavaVersion.VERSION_17
  29. targetCompatibility JavaVersion.VERSION_17
  30. }
  31. kotlinOptions {
  32. jvmTarget = JavaVersion.VERSION_17.majorVersion
  33. }
  34. viewBinding {
  35. enabled = true
  36. }
  37. }
  38. dependencies {
  39. //kotlin
  40. implementation libs.kotlin.stdlib
  41. //androidx
  42. implementation libs.androidx.core.ktx
  43. implementation libs.androidx.appcompat
  44. //android
  45. implementation libs.android.material
  46. //facebook
  47. implementation libs.facebook.share
  48. //firebase
  49. implementation platform(libs.firebase.bom)
  50. implementation libs.firebase.dynamic.link
  51. //AppFlyer
  52. implementation libs.appsflyer
  53. //google play core
  54. implementation libs.play.feature.delivery
  55. //gson
  56. compileOnly libs.gson
  57. //frame
  58. compileOnly project(":frame:zero")
  59. compileOnly project(":frame:base")
  60. compileOnly project(":frame:data")
  61. compileOnly project(":frame:coroutine")
  62. compileOnly project(":frame:util")
  63. compileOnly project(":frame:statistics")
  64. compileOnly project(":frame:image")
  65. compileOnly project(":frame:mvvm")
  66. compileOnly project(":frame:network")
  67. compileOnly project(":frame:log")
  68. compileOnly project(":frame:storage")
  69. compileOnly project(":frame:download")
  70. //test
  71. testImplementation libs.junit
  72. androidTestImplementation libs.androidx.junit
  73. androidTestImplementation libs.androidx.espresso.core
  74. }