63 lines
1.8 KiB
Groovy
63 lines
1.8 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply from: '../shared/keepUnitySymbols.gradle'
|
|
apply from: '../shared/common.gradle'
|
|
**APPLY_PLUGINS**
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
// Android Resolver Dependencies Start
|
|
implementation 'com.taptap.sdk:tap-core-unity:4.5.4' // Packages/com.taptap.sdk.core/Mobile/Editor/NativeDependencies.xml:7
|
|
implementation 'com.taptap.sdk:tap-login-unity:4.5.4' // Packages/com.taptap.sdk.login/Mobile/Editor/NativeDependencies.xml:7
|
|
// Android Resolver Dependencies End
|
|
**DEPS**}
|
|
|
|
// Android Resolver Exclusions Start
|
|
android {
|
|
packagingOptions {
|
|
exclude ('/lib/armeabi/*' + '*')
|
|
exclude ('/lib/mips/*' + '*')
|
|
exclude ('/lib/mips64/*' + '*')
|
|
exclude ('/lib/x86/*' + '*')
|
|
exclude ('/lib/x86_64/*' + '*')
|
|
}
|
|
}
|
|
// Android Resolver Exclusions End
|
|
android {
|
|
namespace "com.unity3d.player"
|
|
ndkPath "**NDKPATH**"
|
|
ndkVersion "**NDKVERSION**"
|
|
|
|
compileSdk **APIVERSION**
|
|
buildToolsVersion = "**BUILDTOOLS**"
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdk **MINSDK**
|
|
targetSdk **TARGETSDK**
|
|
ndk {
|
|
abiFilters **ABIFILTERS**
|
|
debugSymbolLevel **DEBUGSYMBOLLEVEL**
|
|
}
|
|
versionCode **VERSIONCODE**
|
|
versionName '**VERSIONNAME**'
|
|
consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD**
|
|
**DEFAULT_CONFIG_SETUP**
|
|
}
|
|
|
|
lint {
|
|
abortOnError false
|
|
}
|
|
|
|
androidResources {
|
|
noCompress = **BUILTIN_NOCOMPRESS** + unityStreamingAssets.tokenize(', ')
|
|
ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~"
|
|
}**PACKAGING**
|
|
}
|
|
**IL_CPP_BUILD_SETUP**
|
|
**SOURCE_BUILD_SETUP**
|
|
**EXTERNAL_SOURCES**
|