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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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.gcmstart.ow'
  16. ndk {
  17. abiFilters 'armeabi-v7a', 'arm64-v8a'
  18. }
  19. versionCode 3
  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. lintOptions {
  27. abortOnError false
  28. }
  29. buildTypes {
  30. debug {
  31. minifyEnabled false
  32. proguardFiles getDefaultProguardFile('proguard-android.txt')
  33. signingConfig signingConfigs.debug
  34. jniDebuggable true
  35. }
  36. release {
  37. minifyEnabled false
  38. proguardFiles getDefaultProguardFile('proguard-android.txt')
  39. signingConfig signingConfigs.debug
  40. }
  41. }
  42. packagingOptions {
  43. doNotStrip '*/armeabi-v7a/*.so'
  44. doNotStrip '*/arm64-v8a/*.so'
  45. }
  46. bundle {
  47. language {
  48. enableSplit = false
  49. }
  50. density {
  51. enableSplit = false
  52. }
  53. abi {
  54. enableSplit = true
  55. }
  56. }
  57. }