mainTemplate.gradle.DISABLED 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. // GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
  2. buildscript {
  3. repositories {**ARTIFACTORYREPOSITORY**
  4. google()
  5. jcenter()
  6. }
  7. dependencies {
  8. classpath 'com.android.tools.build:gradle:3.4.0'
  9. **BUILD_SCRIPT_DEPS**}
  10. }
  11. allprojects {
  12. repositories {**ARTIFACTORYREPOSITORY**
  13. google()
  14. jcenter()
  15. flatDir {
  16. dirs 'libs'
  17. }
  18. }
  19. }
  20. apply plugin: 'com.android.application'
  21. **APPLY_PLUGINS**
  22. dependencies {
  23. implementation fileTree(dir: 'libs', include: ['*.jar'])
  24. **DEPS**}
  25. android {
  26. compileSdkVersion **APIVERSION**
  27. buildToolsVersion '**BUILDTOOLS**'
  28. compileOptions {
  29. sourceCompatibility JavaVersion.VERSION_1_8
  30. targetCompatibility JavaVersion.VERSION_1_8
  31. }
  32. defaultConfig {
  33. minSdkVersion **MINSDKVERSION**
  34. targetSdkVersion **TARGETSDKVERSION**
  35. applicationId '**APPLICATIONID**'
  36. ndk {
  37. abiFilters **ABIFILTERS**
  38. }
  39. versionCode **VERSIONCODE**
  40. versionName '**VERSIONNAME**'
  41. }
  42. lintOptions {
  43. abortOnError false
  44. }
  45. aaptOptions {
  46. noCompress = ['.unity3d', '.ress', '.resource', '.obb'**STREAMING_ASSETS**]
  47. ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
  48. }**SIGN**
  49. buildTypes {
  50. debug {
  51. minifyEnabled **MINIFY_DEBUG**
  52. useProguard **PROGUARD_DEBUG**
  53. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-unity.txt'**USER_PROGUARD****SIGNCONFIG**
  54. jniDebuggable true
  55. }
  56. release {
  57. minifyEnabled **MINIFY_RELEASE**
  58. useProguard **PROGUARD_RELEASE**
  59. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-unity.txt'**USER_PROGUARD****SIGNCONFIG**
  60. }
  61. }**PACKAGING_OPTIONS****SPLITS**
  62. **BUILT_APK_LOCATION**
  63. **EXTERNAL_SOURCES**
  64. bundle {
  65. language {
  66. enableSplit = false
  67. }
  68. density {
  69. enableSplit = false
  70. }
  71. abi {
  72. enableSplit = true
  73. }
  74. }
  75. }**SPLITS_VERSION_CODE****REPOSITORIES****SOURCE_BUILD_SETUP**