Keine Beschreibung
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

build.gradle 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. apply plugin: 'com.android.application'
  2. dependencies {
  3. implementation project(':unityLibrary')
  4. }
  5. android {
  6. compileSdkVersion 33
  7. buildToolsVersion '30.0.2'
  8. compileOptions {
  9. sourceCompatibility JavaVersion.VERSION_1_8
  10. targetCompatibility JavaVersion.VERSION_1_8
  11. }
  12. defaultConfig {
  13. minSdkVersion 22
  14. targetSdkVersion 33
  15. applicationId 'com.test1'
  16. ndk {
  17. abiFilters 'armeabi-v7a', 'arm64-v8a'
  18. }
  19. versionCode 1
  20. versionName '1.0'
  21. }
  22. aaptOptions {
  23. noCompress = ['.unity3d', '.ress', '.resource', '.obb', '.bundle', '.unityexp'] + unityStreamingAssets.tokenize(', ')
  24. ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
  25. }
  26. signingConfigs {
  27. release {
  28. storeFile file('D:/順通/user.keystore')
  29. storePassword '123456'
  30. keyAlias '123456'
  31. keyPassword '123456'
  32. }
  33. }
  34. lintOptions {
  35. abortOnError false
  36. }
  37. buildTypes {
  38. debug {
  39. minifyEnabled false
  40. proguardFiles getDefaultProguardFile('proguard-android.txt')
  41. signingConfig signingConfigs.release
  42. jniDebuggable true
  43. }
  44. release {
  45. minifyEnabled false
  46. proguardFiles getDefaultProguardFile('proguard-android.txt')
  47. signingConfig signingConfigs.release
  48. }
  49. }
  50. packagingOptions {
  51. doNotStrip '*/armeabi-v7a/*.so'
  52. doNotStrip '*/arm64-v8a/*.so'
  53. }
  54. bundle {
  55. language {
  56. enableSplit = false
  57. }
  58. density {
  59. enableSplit = false
  60. }
  61. abi {
  62. enableSplit = true
  63. }
  64. }
  65. }