launcherTemplate.gradle.DISABLED 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. apply plugin: 'com.android.application'
  2. dependencies {
  3. implementation project(':unityLibrary')
  4. }
  5. android {
  6. compileSdkVersion **APIVERSION**
  7. buildToolsVersion '**BUILDTOOLS**'
  8. compileOptions {
  9. sourceCompatibility JavaVersion.VERSION_1_8
  10. targetCompatibility JavaVersion.VERSION_1_8
  11. }
  12. defaultConfig {
  13. minSdkVersion **MINSDKVERSION**
  14. targetSdkVersion **TARGETSDKVERSION**
  15. applicationId '**APPLICATIONID**'
  16. ndk {
  17. abiFilters **ABIFILTERS**
  18. }
  19. versionCode **VERSIONCODE**
  20. versionName '**VERSIONNAME**'
  21. }
  22. aaptOptions {
  23. noCompress = **BUILTIN_NOCOMPRESS** + unityStreamingAssets.tokenize(', ')
  24. ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
  25. }**SIGN**
  26. lintOptions {
  27. abortOnError false
  28. }
  29. buildTypes {
  30. debug {
  31. minifyEnabled **MINIFY_DEBUG**
  32. proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG**
  33. jniDebuggable true
  34. }
  35. release {
  36. minifyEnabled **MINIFY_RELEASE**
  37. proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG**
  38. }
  39. }**PACKAGING_OPTIONS****PLAY_ASSET_PACKS****SPLITS**
  40. **BUILT_APK_LOCATION**
  41. bundle {
  42. language {
  43. enableSplit = false
  44. }
  45. density {
  46. enableSplit = false
  47. }
  48. abi {
  49. enableSplit = true
  50. }
  51. }
  52. }**SPLITS_VERSION_CODE****LAUNCHER_SOURCE_BUILD_SETUP**