You've already forked Commercialization.topon
62 lines
1.6 KiB
Plaintext
62 lines
1.6 KiB
Plaintext
apply plugin: 'com.android.application'
|
||
|
||
dependencies {
|
||
implementation project(':unityLibrary')
|
||
}
|
||
|
||
android {
|
||
compileSdkVersion **APIVERSION**
|
||
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 //添加此配置,是为了当代码行数超过64k的时候设置的
|
||
}
|
||
|
||
aaptOptions {
|
||
noCompress = **BUILTIN_NOCOMPRESS** + unityStreamingAssets.tokenize(', ')
|
||
ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
|
||
}**SIGN**
|
||
|
||
lintOptions {
|
||
abortOnError false
|
||
}
|
||
|
||
buildTypes {
|
||
debug {
|
||
minifyEnabled **MINIFY_DEBUG**
|
||
proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG**
|
||
jniDebuggable true
|
||
}
|
||
release {
|
||
minifyEnabled **MINIFY_RELEASE**
|
||
proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG**
|
||
}
|
||
}**PACKAGING_OPTIONS****PLAY_ASSET_PACKS****SPLITS**
|
||
**BUILT_APK_LOCATION**
|
||
bundle {
|
||
language {
|
||
enableSplit = false
|
||
}
|
||
density {
|
||
enableSplit = false
|
||
}
|
||
abi {
|
||
enableSplit = true
|
||
}
|
||
}
|
||
}**SPLITS_VERSION_CODE****LAUNCHER_SOURCE_BUILD_SETUP**
|