122 lines
3.4 KiB
Groovy
122 lines
3.4 KiB
Groovy
// GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
|
|
|
|
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:7.0.4'
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
jcenter()
|
|
flatDir {
|
|
dirs 'libs'
|
|
}
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
dependencies {
|
|
// implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation fileTree(dir: "libs", include: ["*.jar","*.aar"])
|
|
|
|
//androidx
|
|
implementation 'androidx.core:core:1.6.0'
|
|
implementation 'androidx.appcompat:appcompat:1.3.1'
|
|
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
|
implementation 'androidx.cardview:cardview:1.0.0'
|
|
implementation 'com.squareup.okhttp3:okhttp:3.12.1'
|
|
implementation 'com.google.android.flexbox:flexbox:3.0.0'
|
|
// 数据存储
|
|
implementation 'cn.leancloud:storage-android:8.2.19'
|
|
|
|
// 即时通讯
|
|
implementation 'cn.leancloud:realtime-android:8.2.19'
|
|
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
|
|
//implementation files('libs/TapBootstrap_3.29.0.aar')
|
|
// TapTap 启动器
|
|
//implementation files('libs/TapCommon_3.29.0.aar')
|
|
// TapTap 基础库
|
|
//implementation files('libs/TapLogin_3.29.0.aar') //TapTap 登录
|
|
//implementation files('libs/TapConnect_3.29.0.aar')
|
|
//TapTap 悬浮窗
|
|
//implementation files('libs/TapMoment_3.29.0.aar')
|
|
// TapTap 悬浮窗依赖内嵌动态-必选
|
|
//implementation files('libs/TapUpdate_3.29.0.aar')//TapTap 唤起更新
|
|
|
|
api 'com.taptap.sdk:tap-core:4.5.1'
|
|
api 'com.taptap.sdk:tap-kit:4.5.1'
|
|
api 'com.taptap.sdk:tap-login:4.5.1'
|
|
api 'com.taptap.sdk:tap-update:4.5.1'
|
|
implementation 'com.tencent.mm.opensdk:wechat-sdk-android:+'
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 30
|
|
buildToolsVersion '28.0.3'
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdkVersion 21
|
|
targetSdkVersion 30
|
|
applicationId 'com.szyh.bzzj.tp1'
|
|
ndk {
|
|
abiFilters 'armeabi-v7a','arm64-v8a'
|
|
}
|
|
versionCode 1
|
|
versionName '1.3.1'
|
|
}
|
|
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
|
|
aaptOptions {
|
|
noCompress = ['.unity3d', '.ress', '.resource', '.obb', 'android/resources/dotweensettings.asset', 'android/resources/emptyctrllerforil2cpp.controller', 'android/resources/emptytimelineforil2cpp.playable', 'android/resources/emptytimelineforil2cppprefab.prefab', 'android/resources/language.json', 'android/resources/sdkchannelconfig.txt', 'android/resources/version.txt']
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
minifyEnabled false
|
|
// useProguard false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-unity.txt'
|
|
jniDebuggable true
|
|
}
|
|
release {
|
|
minifyEnabled false
|
|
// useProguard false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-unity.txt'
|
|
signingConfig signingConfigs.debug
|
|
}
|
|
}
|
|
|
|
packagingOptions {
|
|
doNotStrip '*/armeabi-v7a/*.so'
|
|
}
|
|
|
|
bundle {
|
|
language {
|
|
enableSplit = false
|
|
}
|
|
density {
|
|
enableSplit = false
|
|
}
|
|
abi {
|
|
enableSplit = true
|
|
}
|
|
}
|
|
} |