暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.gradle 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. apply plugin: 'com.android.application'
  2. apply from: 'setupSymbols.gradle'
  3. apply from: '../shared/keepUnitySymbols.gradle'
  4. dependencies {
  5. implementation project(':unityLibrary')
  6. }
  7. android {
  8. namespace "com.G.C.M.LTD.BarrierFree"
  9. ndkPath "D:/Unity/6000.0.9f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK"
  10. ndkVersion "23.1.7779620"
  11. compileSdk 34
  12. buildToolsVersion = "34.0.0"
  13. compileOptions {
  14. sourceCompatibility JavaVersion.VERSION_17
  15. targetCompatibility JavaVersion.VERSION_17
  16. }
  17. defaultConfig {
  18. applicationId "com.G.C.M.LTD.BarrierFree"
  19. versionName "1.0.9"
  20. minSdk 23
  21. targetSdk 34
  22. versionCode 28
  23. ndk {
  24. abiFilters "armeabi-v7a", "arm64-v8a"
  25. debugSymbolLevel "none"
  26. }
  27. }
  28. lint {
  29. abortOnError false
  30. }
  31. androidResources {
  32. ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~"
  33. noCompress = ['.unity3d', '.ress', '.resource', '.obb', '.bundle', '.unityexp'] + unityStreamingAssets.tokenize(', ')
  34. }
  35. packaging {
  36. jniLibs {
  37. useLegacyPackaging true
  38. }
  39. }
  40. signingConfigs {
  41. release {
  42. storeFile file('D:/Unity/BarrierFree/Assets/wsw.keystore')
  43. storePassword '111111'
  44. keyAlias 'wsw'
  45. keyPassword '111111'
  46. }
  47. }
  48. buildTypes {
  49. debug {
  50. minifyEnabled = false
  51. proguardFiles getDefaultProguardFile('proguard-android.txt')
  52. jniDebuggable = true
  53. signingConfig signingConfigs.release
  54. }
  55. release {
  56. minifyEnabled = false
  57. proguardFiles getDefaultProguardFile('proguard-android.txt')
  58. signingConfig signingConfigs.release
  59. }
  60. }
  61. bundle {
  62. language {
  63. enableSplit = false
  64. }
  65. density {
  66. enableSplit = false
  67. }
  68. abi {
  69. enableSplit = true
  70. }
  71. texture {
  72. enableSplit = true
  73. }
  74. }
  75. }