暫無描述
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.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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.SmartEnterpriseLTD.ICSSCADAAPP"
  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.SmartEnterpriseLTD.ICSSCADAAPP"
  19. versionName "1.0.6"
  20. minSdk 23
  21. targetSdk 34
  22. versionCode 6
  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/ICS-SCADA-APP-WEN/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. androidComponents {
  62. onVariants(selector().all(), { variant ->
  63. variant.bundleConfig.addMetadataFile(
  64. "com.unity",
  65. project.layout.file(project.providers.provider { new File("dependencies.pb") })
  66. )
  67. variant.bundleConfig.addMetadataFile(
  68. "com.unity",
  69. project.layout.file(project.providers.provider { new File("app-metadata.properties") })
  70. )
  71. })
  72. }
  73. bundle {
  74. language {
  75. enableSplit = false
  76. }
  77. density {
  78. enableSplit = false
  79. }
  80. abi {
  81. enableSplit = true
  82. }
  83. texture {
  84. enableSplit = true
  85. }
  86. }
  87. }