build.gradle 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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-guide'
  9. VERSION = '6.0.2'
  10. }
  11. apply from: "../../publish.gradle"
  12. android {
  13. namespace 'com.adealink.frame.guide'
  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. }
  35. dependencies {
  36. //androidx
  37. implementation libs.androidx.core.ktx
  38. implementation libs.androidx.appcompat
  39. //android
  40. implementation libs.android.material
  41. compileOnly project(":frame:zero")
  42. compileOnly project(":frame:base")
  43. compileOnly project(":frame:zero")
  44. compileOnly project(":frame:util")
  45. compileOnly project(":frame:log")
  46. //test
  47. testImplementation libs.junit
  48. androidTestImplementation libs.androidx.junit
  49. androidTestImplementation libs.androidx.espresso.core
  50. }