您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
71 行
2.3 KiB
71 行
2.3 KiB
// GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
|
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
dependencies {
|
|
implementation project(':unityLibrary')
|
|
implementation "com.huawei.agconnect:agconnect-appmessaging:1.4.1.300"
|
|
implementation 'com.huawei.agconnect:agconnect-applinking:1.4.1.300'
|
|
implementation 'com.huawei.agconnect:agconnect-remoteconfig:1.4.1.300'
|
|
implementation 'com.huawei.hms:ads-lite:13.4.29.303'
|
|
implementation 'com.huawei.hms:ads-consent:3.4.30.301'
|
|
implementation 'com.huawei.hms:push:4.0.3.301'
|
|
implementation 'com.huawei.hms:location:5.0.0.302'
|
|
implementation 'com.android.support:appcompat-v7:28.0.0'
|
|
implementation 'com.huawei.hms:hianalytics:5.0.0.301'
|
|
}
|
|
apply plugin: 'com.huawei.agconnect'
|
|
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**'
|
|
}
|
|
|
|
aaptOptions {
|
|
noCompress = ['.unity3d', '.ress', '.resource', '.obb'**STREAMING_ASSETS**]
|
|
ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
|
|
}**SIGN**
|
|
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
buildTypes {
|
|
debug {
|
|
minifyEnabled **MINIFY_DEBUG**
|
|
useProguard **PROGUARD_DEBUG**
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG**
|
|
jniDebuggable true
|
|
}
|
|
release {
|
|
minifyEnabled **MINIFY_RELEASE**
|
|
useProguard **PROGUARD_RELEASE**
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG**
|
|
}
|
|
}**PACKAGING_OPTIONS****SPLITS**
|
|
**BUILT_APK_LOCATION**
|
|
bundle {
|
|
language {
|
|
enableSplit = false
|
|
}
|
|
density {
|
|
enableSplit = false
|
|
}
|
|
abi {
|
|
enableSplit = true
|
|
}
|
|
}
|
|
}**SPLITS_VERSION_CODE****LAUNCHER_SOURCE_BUILD_SETUP**
|