launcherTemplate.gradle 1.6 KB

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