Nav apraksta
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

mainTemplate.gradle 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. apply plugin: 'com.android.library'
  2. apply from: '../shared/keepUnitySymbols.gradle'
  3. **APPLY_PLUGINS**
  4. dependencies {
  5. implementation fileTree(dir: 'libs', include: ['*.jar'])
  6. // Android Resolver Dependencies Start
  7. implementation 'com.google.android.gms:play-services-ads:22.6.0' // Assets/GoogleMobileAds/Editor/GoogleMobileAdsDependencies.xml:7
  8. implementation 'com.google.android.ump:user-messaging-platform:2.1.0' // Assets/GoogleMobileAds/Editor/GoogleUmpDependencies.xml:7
  9. // Android Resolver Dependencies End
  10. **DEPS**}
  11. // Android Resolver Exclusions Start
  12. android {
  13. packaging {
  14. exclude ('/lib/armeabi/*' + '*')
  15. exclude ('/lib/mips/*' + '*')
  16. exclude ('/lib/mips64/*' + '*')
  17. exclude ('/lib/x86/*' + '*')
  18. exclude ('/lib/x86_64/*' + '*')
  19. }
  20. }
  21. // Android Resolver Exclusions End
  22. android {
  23. namespace "com.unity3d.player"
  24. compileSdk 34
  25. ndkPath "**NDKPATH**"
  26. ndkVersion "**NDKVERSION**"
  27. compileSdk **APIVERSION**
  28. buildToolsVersion = "**BUILDTOOLS**"
  29. compileOptions {
  30. sourceCompatibility JavaVersion.VERSION_17
  31. targetCompatibility JavaVersion.VERSION_17
  32. }
  33. defaultConfig {
  34. minSdk **MINSDK**
  35. targetSdk **TARGETSDK**
  36. ndk {
  37. abiFilters **ABIFILTERS**
  38. debugSymbolLevel **DEBUGSYMBOLLEVEL**
  39. }
  40. versionCode **VERSIONCODE**
  41. versionName '**VERSIONNAME**'
  42. consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD**
  43. **DEFAULT_CONFIG_SETUP**
  44. }
  45. lint {
  46. abortOnError false
  47. }
  48. androidResources {
  49. noCompress = **BUILTIN_NOCOMPRESS** + unityStreamingAssets.tokenize(', ')
  50. ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~"
  51. }**PACKAGING**
  52. }
  53. **IL_CPP_BUILD_SETUP**
  54. **SOURCE_BUILD_SETUP**
  55. **EXTERNAL_SOURCES**