build.gradle 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. plugins {
  2. id 'com.android.library'
  3. id 'kotlin-android'
  4. }
  5. android {
  6. compileSdkVersion COMPILE_SDK_VERSION
  7. buildToolsVersion BUILD_TOOLS_VERSION
  8. defaultConfig {
  9. minSdkVersion MIN_SDK_VERSION
  10. targetSdkVersion TARGET_SDK_VERSION
  11. ndk {
  12. // 设置支持的SO库架构
  13. abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
  14. }
  15. }
  16. buildTypes {
  17. release {
  18. minifyEnabled MINIFY_ENABLE
  19. proguardFiles 'proguard-rules.pro'
  20. }
  21. }
  22. buildFeatures {
  23. buildConfig = false
  24. }
  25. lintOptions {
  26. abortOnError false
  27. }
  28. repositories {
  29. flatDir {
  30. dirs '../libs'
  31. }
  32. }
  33. dexOptions {
  34. preDexLibraries = false
  35. }
  36. compileOptions {
  37. kotlinOptions.freeCompilerArgs += ['-module-name', "cn.yyxx.eyaungame.base"]
  38. }
  39. }
  40. dependencies {
  41. // api files('../libs/dolin_zap_1.0.0.jar')
  42. api files('../libs/yyxx_support_1.0.1.jar')
  43. implementation 'androidx.core:core-ktx:1.6.0'
  44. implementation 'io.github.suyghur.dolin:zap:1.0.0'
  45. }
  46. apply from: 'buildJar.gradle'