build.gradle 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // +———————————————————————————————————
  2. // | Created by Yunbao
  3. // +———————————————————————————————————
  4. // | Copyright (c) 2013~2022 http://www.yunbaokj.com All rights reserved.
  5. // +———————————————————————————————————
  6. // | Author: https://gitee.com/yunbaokeji
  7. // +———————————————————————————————————
  8. // | Date: 2022-04-30
  9. // +———————————————————————————————————
  10. apply plugin: 'com.android.library'
  11. android {
  12. compileSdkVersion rootProject.ext.android.compileSdkVersion
  13. buildToolsVersion rootProject.ext.android.buildToolsVersion
  14. defaultConfig {
  15. minSdkVersion rootProject.ext.android.minSdkVersion
  16. targetSdkVersion rootProject.ext.android.targetSdkVersion
  17. versionCode rootProject.ext.android.versionCode
  18. versionName rootProject.ext.android.versionName
  19. manifestPlaceholders = rootProject.ext.manifestPlaceholders
  20. ndk {
  21. abiFilters "armeabi-v7a","arm64-v8a"
  22. }
  23. }
  24. buildTypes {
  25. release {
  26. minifyEnabled false
  27. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  28. }
  29. }
  30. }
  31. repositories {
  32. flatDir {
  33. dirs 'libs','../libs'
  34. }
  35. }
  36. dependencies {
  37. compile fileTree(dir: 'libs', include: ['*.jar'])
  38. compile rootProject.ext.dependencies["appcompat-v7"]
  39. compile rootProject.ext.dependencies["recyclerview-v7"]
  40. //common
  41. compile project(':util')
  42. }