您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
104 行
2.9 KiB
104 行
2.9 KiB
// GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
|
|
|
|
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
jcenter()
|
|
maven { url 'https://developer.huawei.com/repo/' }
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:3.4.0'
|
|
classpath 'com.huawei.agconnect:agcp:1.6.1.300'
|
|
**BUILD_SCRIPT_DEPS**
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
jcenter()
|
|
flatDir {
|
|
dirs 'libs'
|
|
}
|
|
maven { url 'https://developer.huawei.com/repo/' }
|
|
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.huawei.agconnect'
|
|
apply plugin: 'com.android.application'
|
|
**APPLY_PLUGINS**
|
|
|
|
dependencies {
|
|
implementation project(':unityLibrary')
|
|
implementation 'com.android.support:appcompat-v7:28.0.0'
|
|
implementation 'com.huawei.hms:hianalytics:5.1.0.300'
|
|
implementation 'com.huawei.agconnect:agconnect-crash:1.4.2.300'
|
|
implementation 'com.huawei.agconnect:agconnect-core:1.6.1.300'
|
|
implementation "com.huawei.agconnect:agconnect-function:1.4.2.300"
|
|
implementation 'com.fasterxml.jackson.core:jackson-databind:2.8.5'
|
|
implementation 'com.fasterxml.jackson.core:jackson-core:2.8.5'
|
|
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.8.5'
|
|
implementation 'com.huawei.hms:base:5.0.5.300'
|
|
implementation 'com.huawei.hms:game:5.0.4.302'
|
|
implementation 'com.huawei.hms:hwid:5.0.5.301'
|
|
**DEPS**}
|
|
|
|
|
|
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**'
|
|
}
|
|
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
|
|
aaptOptions {
|
|
noCompress = ['.unity3d', '.ress', '.resource', '.obb'**STREAMING_ASSETS**]
|
|
}**SIGN**
|
|
|
|
buildTypes {
|
|
debug {
|
|
minifyEnabled **MINIFY_DEBUG**
|
|
useProguard **PROGUARD_DEBUG**
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-unity.txt'**USER_PROGUARD**
|
|
jniDebuggable true
|
|
}
|
|
release {
|
|
minifyEnabled **MINIFY_RELEASE**
|
|
useProguard **PROGUARD_RELEASE**
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-unity.txt'**USER_PROGUARD****SIGNCONFIG**
|
|
}
|
|
}**PACKAGING_OPTIONS****SPLITS**
|
|
**BUILT_APK_LOCATION**
|
|
bundle {
|
|
language {
|
|
enableSplit = false
|
|
}
|
|
density {
|
|
enableSplit = false
|
|
}
|
|
abi {
|
|
enableSplit = true
|
|
}
|
|
}
|
|
}**SPLITS_VERSION_CODE****REPOSITORIES****SOURCE_BUILD_SETUP**
|