116 lines
3.4 KiB
Groovy
116 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:3.4.2'
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
jcenter()
|
|
flatDir {
|
|
dirs 'libs'
|
|
}
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
|
|
// AndroidX
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
implementation('androidx.appcompat:appcompat:1.0.0')
|
|
implementation('com.google.android.material:material:1.0.0')
|
|
implementation('androidx.recyclerview:recyclerview:1.0.0')
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
|
|
implementation 'androidx.multidex:multidex:2.0.0'
|
|
|
|
implementation 'com.google.code.gson:gson:2.8.6'
|
|
implementation("com.github.bumptech.glide:glide:4.13.0") {
|
|
exclude group: 'com.android.support'
|
|
}
|
|
annotationProcessor 'com.github.bumptech.glide:compiler:4.13.0'
|
|
implementation("jp.wasabeef:glide-transformations:3.0.1") {
|
|
exclude group: 'com.github.bumptech.glide', module: 'glide'
|
|
}
|
|
implementation ('com.github.bumptech.glide:okhttp3-integration:4.13.0')
|
|
implementation 'com.squareup.okhttp3:okhttp:3.11.0'
|
|
implementation 'org.greenrobot:eventbus:3.1.1'
|
|
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.2'
|
|
implementation 'com.alibaba:fastjson:1.1.34.android'
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 28
|
|
buildToolsVersion '28.0.3'
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdkVersion 21
|
|
targetSdkVersion 26
|
|
multiDexEnabled true
|
|
applicationId 'com.wwhd.skzc.x7sy'
|
|
ndk {
|
|
abiFilters 'armeabi-v7a','arm64-v8a'
|
|
}
|
|
versionCode 1
|
|
versionName '1.2.1'
|
|
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
|
}
|
|
|
|
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
|
|
debuggable true
|
|
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
|
|
}
|
|
}
|
|
} |