build.gradle 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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_run').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_run')
  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.3.6"
  34. implementation "com.tencent.tinker:tinker-android-lib:1.9.9"
  35. }
  36. android {
  37. compileSdkVersion 28
  38. buildToolsVersion '28.0.3'
  39. compileOptions {
  40. sourceCompatibility JavaVersion.VERSION_1_8
  41. targetCompatibility JavaVersion.VERSION_1_8
  42. }
  43. defaultConfig {
  44. minSdkVersion 22
  45. targetSdkVersion 28
  46. applicationId 'com.ouj.sdk.test'
  47. ndk {
  48. abiFilters 'armeabi-v7a'
  49. }
  50. versionCode 1
  51. versionName '0.1'
  52. }
  53. aaptOptions {
  54. noCompress = ['.unity3d', '.ress', '.resource', '.obb']
  55. ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
  56. }
  57. lintOptions {
  58. abortOnError false
  59. }
  60. signingConfigs {
  61. release {
  62. storeFile file("signed.jks")
  63. storePassword "111111"
  64. keyAlias "OUJ_SHOES"
  65. keyPassword "111111"
  66. }
  67. debug {
  68. storeFile file("signed.jks")
  69. storePassword "111111"
  70. keyAlias "OUJ_SHOES"
  71. keyPassword "111111"
  72. }
  73. }
  74. buildTypes {
  75. debug {
  76. minifyEnabled false
  77. proguardFiles getDefaultProguardFile('proguard-android.txt')
  78. signingConfig signingConfigs.debug
  79. jniDebuggable true
  80. }
  81. release {
  82. minifyEnabled false
  83. proguardFiles getDefaultProguardFile('proguard-android.txt')
  84. signingConfig signingConfigs.release
  85. }
  86. }
  87. packagingOptions {
  88. doNotStrip '*/armeabi-v7a/*.so'
  89. }
  90. bundle {
  91. language {
  92. enableSplit = false
  93. }
  94. density {
  95. enableSplit = false
  96. }
  97. abi {
  98. enableSplit = true
  99. }
  100. }
  101. }