74 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
			
		
		
	
	
			74 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
| apply plugin: 'com.android.application'
 | |
| 
 | |
| dependencies {
 | |
|     implementation project(':unityLibrary')
 | |
|     }
 | |
| 
 | |
| android {
 | |
|     namespace "**NAMESPACE**"
 | |
|     compileSdkVersion **TARGETSDKVERSION**
 | |
|     buildToolsVersion '**BUILDTOOLS**'
 | |
| 
 | |
|     compileOptions {
 | |
|         sourceCompatibility JavaVersion.VERSION_1_8
 | |
|         targetCompatibility JavaVersion.VERSION_1_8
 | |
|     }
 | |
| 
 | |
|     defaultConfig {
 | |
|         minSdkVersion **MINSDKVERSION**
 | |
|         targetSdkVersion **TARGETSDKVERSION**
 | |
|         applicationId '**APPLICATIONID**'
 | |
|         ndk {
 | |
|             abiFilters **ABIFILTERS**
 | |
|         }
 | |
|         versionCode **VERSIONCODE**
 | |
|         versionName '**VERSIONNAME**'
 | |
|         multiDexEnabled true
 | |
|     }
 | |
| 
 | |
|     aaptOptions {
 | |
|         noCompress = **BUILTIN_NOCOMPRESS** + unityStreamingAssets.tokenize(', ')
 | |
|         ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
 | |
|     }**SIGN**
 | |
| 
 | |
|     lintOptions {
 | |
|         abortOnError false
 | |
|         checkReleaseBuilds false
 | |
|     }
 | |
|     
 | |
|     dexOptions {
 | |
|         incremental true
 | |
|         javaMaxHeapSize "8g"
 | |
|     }
 | |
| 
 | |
|     buildTypes {
 | |
|         debug {
 | |
|             minifyEnabled **MINIFY_DEBUG**
 | |
|             proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG**
 | |
|             jniDebuggable true
 | |
|         }
 | |
|         release {
 | |
|             minifyEnabled **MINIFY_RELEASE**
 | |
|             proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG**
 | |
|         }
 | |
|     }
 | |
|     
 | |
|     packagingOptions {
 | |
|         exclude("META-INF/*.kotlin_module")
 | |
|     }
 | |
|     
 | |
|     **PLAY_ASSET_PACKS****SPLITS**
 | |
| **BUILT_APK_LOCATION**
 | |
|     bundle {
 | |
|         language {
 | |
|             enableSplit = false
 | |
|         }
 | |
|         density {
 | |
|             enableSplit = false
 | |
|         }
 | |
|         abi {
 | |
|             enableSplit = true
 | |
|         }
 | |
|     }
 | |
| }**SPLITS_VERSION_CODE****LAUNCHER_SOURCE_BUILD_SETUP**
 |