build.gradle 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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.application'
  11. android {
  12. compileSdkVersion rootProject.ext.android.compileSdkVersion
  13. buildToolsVersion rootProject.ext.android.buildToolsVersion
  14. signingConfigs {
  15. release {
  16. keyAlias 'phonelive'
  17. keyPassword 'phonelive'
  18. storeFile file('../yunbao.jks')
  19. storePassword 'phonelive'
  20. }
  21. }
  22. aaptOptions {
  23. cruncherEnabled = false
  24. useNewCruncher = false
  25. }
  26. defaultConfig {
  27. applicationId "com.yunbao.shortvideo"
  28. minSdkVersion rootProject.ext.android.minSdkVersion
  29. targetSdkVersion 28
  30. versionCode rootProject.ext.android.versionCode
  31. versionName rootProject.ext.android.versionName
  32. manifestPlaceholders = rootProject.ext.manifestPlaceholders
  33. multiDexEnabled true
  34. ndk {
  35. abiFilters "armeabi-v7a", "arm64-v8a"
  36. }
  37. }
  38. buildTypes {
  39. release {
  40. minifyEnabled false
  41. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  42. }
  43. debug {
  44. signingConfig signingConfigs.release
  45. }
  46. }
  47. lintOptions {
  48. checkReleaseBuilds false
  49. abortOnError false
  50. }
  51. }
  52. repositories {
  53. flatDir {
  54. dirs 'libs', '../libs'
  55. }
  56. }
  57. dependencies {
  58. compile fileTree(include: ['*.jar'], dir: 'libs')
  59. compile project(':main')
  60. }