build.gradle 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. apply plugin: 'com.android.application'
  2. apply from: 'tinker-support.gradle'
  3. dependencies {
  4. implementation project(':unityLibrary')
  5. implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
  6. implementation "com.android.support:multidex:1.0.3"
  7. implementation "com.tencent.bugly:nativecrashreport:latest.release"
  8. implementation "com.tencent.bugly:crashreport_upgrade:latest.release"
  9. implementation "com.tencent.tinker:tinker-android-lib:latest.release"
  10. implementation "androidx.appcompat:appcompat:1.3.0"
  11. implementation 'androidx.core:core-ktx:1.6.0'
  12. implementation 'androidx.recyclerview:recyclerview:1.2.1'
  13. implementation "com.squareup.okhttp3:okhttp:4.9.0"
  14. implementation "io.coil-kt:coil:1.3.2"
  15. implementation(name: 'sdklibrary-release', ext: 'aar')
  16. }
  17. android {
  18. compileSdkVersion 30
  19. compileOptions {
  20. sourceCompatibility JavaVersion.VERSION_1_8
  21. targetCompatibility JavaVersion.VERSION_1_8
  22. }
  23. defaultConfig {
  24. minSdkVersion 22
  25. targetSdkVersion 30
  26. applicationId 'com.ouj.paoku'
  27. ndk {
  28. abiFilters 'armeabi-v7a'
  29. }
  30. versionCode 10104
  31. versionName '1.1.4'
  32. }
  33. aaptOptions {
  34. noCompress = ['.unity3d', '.ress', '.resource', '.obb']
  35. ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
  36. }
  37. lintOptions {
  38. abortOnError false
  39. }
  40. signingConfigs {
  41. release {
  42. storeFile file("signed.jks")
  43. storePassword "111111"
  44. keyAlias "OUJ_SHOES"
  45. keyPassword "111111"
  46. }
  47. }
  48. buildTypes {
  49. debug {
  50. minifyEnabled false
  51. proguardFiles getDefaultProguardFile('proguard-android.txt')
  52. signingConfig signingConfigs.debug
  53. jniDebuggable true
  54. }
  55. release {
  56. minifyEnabled false
  57. proguardFiles getDefaultProguardFile('proguard-android.txt')
  58. signingConfig signingConfigs.release
  59. }
  60. }
  61. packagingOptions {
  62. doNotStrip '*/armeabi-v7a/*.so'
  63. }
  64. bundle {
  65. language {
  66. enableSplit = false
  67. }
  68. density {
  69. enableSplit = false
  70. }
  71. abi {
  72. enableSplit = true
  73. }
  74. }
  75. }