Advertisement
slaer

mainTemplate.gradle

May 23rd, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. // GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
  2. buildscript {
  3. repositories {
  4. jcenter()
  5. }
  6.  
  7. dependencies {
  8. classpath 'com.android.tools.build:gradle:2.3.0'
  9. }
  10. }
  11.  
  12. allprojects {
  13. repositories {
  14. flatDir {
  15. dirs 'libs'
  16. }
  17. }
  18. }
  19.  
  20. apply plugin: 'com.android.application'
  21.  
  22. dependencies {
  23. compile fileTree(dir: 'libs', include: ['*.jar'])
  24. compile 'com.android.support:multidex:1.0.1'
  25. **DEPS**}
  26.  
  27. android {
  28. compileSdkVersion **APIVERSION**
  29. buildToolsVersion '**BUILDTOOLS**'
  30.  
  31. defaultConfig {
  32. minSdkVersion **MINSDKVERSION**
  33. targetSdkVersion **TARGETSDKVERSION**
  34. applicationId '**APPLICATIONID**'
  35. ndk {
  36. abiFilters **ABIFILTERS**
  37. }
  38. versionCode **VERSIONCODE**
  39. versionName '**VERSIONNAME**'
  40. }
  41.  
  42. lintOptions {
  43. abortOnError false
  44. }
  45.  
  46. aaptOptions {
  47. noCompress '.unity3d', '.ress', '.resource', '.obb'**STREAMING_ASSETS**
  48. }
  49.  
  50. **SIGN**
  51. buildTypes {
  52. debug {
  53. minifyEnabled **MINIFY_DEBUG**
  54. useProguard **PROGUARD_DEBUG**
  55. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-unity.txt'**USER_PROGUARD**
  56. jniDebuggable true
  57. multiDexEnabled true
  58. }
  59. release {
  60. useProguard **PROGUARD_RELEASE**
  61. minifyEnabled false
  62. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-unity.txt'**USER_PROGUARD**
  63. **SIGNCONFIG**
  64. multiDexEnabled true
  65. }
  66. }
  67. **PACKAGING_OPTIONS**
  68. }
  69.  
  70.  
  71. **SOURCE_BUILD_SETUP**
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement