build.gradle 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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:4.1.1"
  11. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  12. }
  13. }
  14. repositories {
  15. google()
  16. jcenter()
  17. flatDir {
  18. dirs "${project(':launcher').projectDir}/libs"
  19. dirs "${project(':unityLibrary').projectDir}/libs"
  20. }
  21. }
  22. }
  23. apply plugin: 'com.android.application'
  24. dependencies {
  25. // implementation project(':dance')
  26. implementation project(':unityLibrary')
  27. implementation project(':sdklibrary')
  28. }
  29. android {
  30. compileSdkVersion 28
  31. buildToolsVersion '28.0.3'
  32. compileOptions {
  33. sourceCompatibility JavaVersion.VERSION_1_8
  34. targetCompatibility JavaVersion.VERSION_1_8
  35. }
  36. defaultConfig {
  37. minSdkVersion 22
  38. targetSdkVersion 28
  39. applicationId 'com.ouj.sdk.test'
  40. ndk {
  41. abiFilters 'armeabi-v7a'
  42. }
  43. versionCode 1
  44. versionName '0.1'
  45. }
  46. aaptOptions {
  47. noCompress = ['.unity3d', '.ress', '.resource', '.obb']
  48. ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
  49. }
  50. lintOptions {
  51. abortOnError false
  52. }
  53. signingConfigs {
  54. release {
  55. storeFile file("signed.jks")
  56. storePassword "111111"
  57. keyAlias "OUJ_SHOES"
  58. keyPassword "111111"
  59. }
  60. }
  61. buildTypes {
  62. debug {
  63. minifyEnabled false
  64. proguardFiles getDefaultProguardFile('proguard-android.txt')
  65. signingConfig signingConfigs.debug
  66. jniDebuggable true
  67. }
  68. release {
  69. minifyEnabled false
  70. proguardFiles getDefaultProguardFile('proguard-android.txt')
  71. signingConfig signingConfigs.release
  72. }
  73. }
  74. packagingOptions {
  75. doNotStrip '*/armeabi-v7a/*.so'
  76. }
  77. bundle {
  78. language {
  79. enableSplit = false
  80. }
  81. density {
  82. enableSplit = false
  83. }
  84. abi {
  85. enableSplit = true
  86. }
  87. }
  88. }