build.gradle 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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.base"]
  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. implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
  37. implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
  38. //mmkv
  39. api 'com.tencent:mmkv-static:1.2.10'
  40. //日志采集框架
  41. api 'io.github.suyghur.dolin:zap:1.0.0'
  42. api files("../libs/yyxx_support_1.0.2.jar")
  43. api files("../libs/oaid_sdk_1.0.25.jar")
  44. }
  45. apply from: 'publish.gradle'