build.gradle 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. // GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
  2. allprojects {
  3. ext.kotlin_version = "1.4.20"
  4. buildscript {
  5. repositories {
  6. google()
  7. jcenter()
  8. }
  9. dependencies {
  10. classpath "com.android.tools.build:gradle:3.5.1"
  11. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  12. classpath "com.tencent.bugly:tinker-support:1.2.0"
  13. }
  14. }
  15. repositories {
  16. google()
  17. jcenter()
  18. flatDir {
  19. dirs "${project(':launcher').projectDir}/libs"
  20. dirs "${project(':unityLibrary').projectDir}/libs"
  21. }
  22. }
  23. }
  24. apply plugin: 'com.android.application'
  25. //apply from: 'tinker-support.gradle'
  26. dependencies {
  27. // implementation project(':dance')
  28. // implementation project(':draw2d')
  29. implementation project(':unityLibrary')
  30. implementation project(':sdklibrary')
  31. implementation "com.android.support:multidex:1.0.3"
  32. implementation "com.tencent.bugly:nativecrashreport:latest.release"
  33. implementation "com.tencent.bugly:crashreport_upgrade:1.6.1"
  34. implementation "com.tencent.tinker:tinker-android-lib:1.9.14.21"
  35. }
  36. android {
  37. compileSdkVersion 33
  38. compileOptions {
  39. sourceCompatibility JavaVersion.VERSION_1_8
  40. targetCompatibility JavaVersion.VERSION_1_8
  41. }
  42. defaultConfig {
  43. minSdkVersion 22
  44. targetSdkVersion 33
  45. applicationId 'com.ouj.sdk.test'
  46. versionCode 1
  47. versionName '0.1'
  48. }
  49. aaptOptions {
  50. noCompress = ['.unity3d', '.ress', '.resource', '.obb']
  51. ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
  52. }
  53. lintOptions {
  54. abortOnError false
  55. }
  56. signingConfigs {
  57. release {
  58. storeFile file("signed.jks")
  59. storePassword "111111"
  60. keyAlias "OUJ_SHOES"
  61. keyPassword "111111"
  62. }
  63. debug {
  64. storeFile file("signed.jks")
  65. storePassword "111111"
  66. keyAlias "OUJ_SHOES"
  67. keyPassword "111111"
  68. }
  69. }
  70. buildTypes {
  71. debug {
  72. minifyEnabled false
  73. proguardFiles getDefaultProguardFile('proguard-android.txt')
  74. signingConfig signingConfigs.debug
  75. jniDebuggable true
  76. }
  77. release {
  78. minifyEnabled false
  79. proguardFiles getDefaultProguardFile('proguard-android.txt')
  80. signingConfig signingConfigs.release
  81. }
  82. }
  83. packagingOptions {
  84. doNotStrip '*/armeabi-v7a/*.so'
  85. }
  86. bundle {
  87. language {
  88. enableSplit = false
  89. }
  90. density {
  91. enableSplit = false
  92. }
  93. abi {
  94. enableSplit = true
  95. }
  96. }
  97. }