179 lines
6.2 KiB
Groovy
179 lines
6.2 KiB
Groovy
// GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
|
||
|
||
buildscript {
|
||
repositories {
|
||
google()
|
||
jcenter()
|
||
|
||
maven { url "https://jitpack.io" }
|
||
maven { url "https://jcenter.bintray.com" }
|
||
}
|
||
|
||
dependencies {
|
||
classpath 'com.android.tools.build:gradle:4.0.1'
|
||
classpath 'com.google.gms:google-services:4.3.3'
|
||
}
|
||
}
|
||
|
||
allprojects {
|
||
repositories {
|
||
google()
|
||
jcenter()
|
||
flatDir {
|
||
dirs 'libs'
|
||
}
|
||
|
||
maven { url "https://jitpack.io" }
|
||
maven { url "https://jcenter.bintray.com" }
|
||
}
|
||
}
|
||
|
||
apply plugin: 'com.android.application'
|
||
|
||
|
||
dependencies {
|
||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||
//和 multiDexEnabled true 一起使用
|
||
implementation 'com.android.support:multidex:1.0.3'
|
||
|
||
implementation 'androidx.appcompat:appcompat:1.2.0'
|
||
implementation 'androidx.multidex:multidex:2.0.1'
|
||
|
||
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
|
||
|
||
// GamePot common [START]
|
||
implementation(name: 'gamepot-common', ext: 'aar')
|
||
implementation('io.socket:socket.io-client:1.0.0') {
|
||
|
||
exclude group: 'org.json', module: 'json'
|
||
}
|
||
implementation('com.github.ihsanbal:LoggingInterceptor:3.0.0') {
|
||
exclude group: 'org.json', module: 'json'
|
||
}
|
||
implementation "com.github.nisrulz:easydeviceinfo:2.4.1"
|
||
implementation 'pub.devrel:easypermissions:1.3.0'
|
||
implementation 'com.android.installreferrer:installreferrer:1.0'
|
||
implementation 'com.google.code.gson:gson:2.8.2'
|
||
implementation 'com.jakewharton.timber:timber:4.7.0'
|
||
implementation 'com.squareup.okhttp3:okhttp:4.9.1'
|
||
implementation 'com.apollographql.apollo:apollo-runtime:1.0.0-alpha2'
|
||
implementation 'com.apollographql.apollo:apollo-android-support:1.0.0-alpha2'
|
||
implementation 'com.android.billingclient:billing:5.0.0'
|
||
implementation 'com.github.bumptech.glide:glide:3.7.0'
|
||
implementation 'com.romandanylyk:pageindicatorview:1.0.3'
|
||
implementation 'androidx.sqlite:sqlite-framework:2.0.1'
|
||
implementation 'com.cookpad.puree:puree:4.1.6'
|
||
implementation 'com.google.firebase:firebase-core:18.0.1'
|
||
implementation 'com.google.firebase:firebase-messaging:21.0.1'
|
||
|
||
implementation 'com.google.firebase:firebase-crashlytics-buildtools:2.9.1'
|
||
// GamePot common [END]
|
||
|
||
implementation(name: 'gamepot-channel-base', ext: 'aar')
|
||
// GamePot naver [START]
|
||
implementation(name: 'gamepot-channel-naver', ext: 'aar')
|
||
// GamePot naver [END]
|
||
|
||
// GamePot google sigin [START]
|
||
implementation(name: 'gamepot-channel-google-signin', ext: 'aar')
|
||
implementation "com.google.android.gms:play-services-auth:19.0.0"
|
||
// GamePot google sigin [END]
|
||
|
||
|
||
implementation 'com.adjust.sdk:adjust-android:4.31.1'
|
||
implementation 'com.android.installreferrer:installreferrer:2.2'
|
||
// Add the following if you are using the Adjust SDK inside web views on your app
|
||
implementation 'com.adjust.sdk:adjust-android-webbridge:4.31.1'
|
||
|
||
implementation 'com.google.android.gms:play-services-ads-identifier:17.0.1'
|
||
|
||
implementation 'com.android.installreferrer:installreferrer:2.2'
|
||
|
||
//Play Asset Delivery(上传Google资源分包)
|
||
implementation 'com.google.android.play:core:1.10.0'
|
||
}
|
||
|
||
android {
|
||
compileSdkVersion 31
|
||
buildToolsVersion '31.0.0'
|
||
|
||
compileOptions {
|
||
sourceCompatibility JavaVersion.VERSION_1_8
|
||
targetCompatibility JavaVersion.VERSION_1_8
|
||
}
|
||
|
||
defaultConfig {
|
||
minSdkVersion 23
|
||
targetSdkVersion 31
|
||
applicationId 'com.ilod.anecdotes.android'
|
||
ndk {
|
||
abiFilters 'armeabi-v7a','arm64-v8a'
|
||
}
|
||
versionCode 1
|
||
versionName '0.0.1'
|
||
|
||
// GamePot [START]
|
||
resValue "string", "gamepot_project_id", "e17a069c-edad-4c31-8ad1-11faaa82e467" // required
|
||
resValue "string", "gamepot_store", "google" // required
|
||
resValue "string", "gamepot_payment", "" // optional
|
||
resValue "string", "gamepot_app_title","@string/app_name" // required (fcm)
|
||
resValue "string", "gamepot_push_default_channel","Default" // required (fcm)
|
||
// resValue "string", "facebook_app_id", "[Facebook ID]" // facebook
|
||
// resValue "string", "fb_login_protocol_scheme", "fb[Facebook ID]" // (facebook)
|
||
// resValue "string", "facebook_client_token", "[Facebook瀹㈡埛绔?护鐗宂" // Facebook鎺у埗鍙?APP>璁剧疆>楂樼骇璁剧疆>瀹㈡埛绔?护鐗嬏
|
||
// resValue "string", "gamepot_elsa_projectid", "" // (ncp elsa)
|
||
// GamePot [END]
|
||
|
||
resValue "string", "gamepot_naver_clientid", "ZQytO0qN2V5ThTCSBaSY"// 浠嶯AVER寮鍙戜汉鍛樻帶鍒跺彴鑾峰彇
|
||
resValue "string", "gamepot_naver_secretid", "IBjNRXfiqm"// 浠嶯AVER寮鍙戜汉鍛樻帶鍒跺彴鑾峰彇
|
||
|
||
|
||
multiDexEnabled true
|
||
}
|
||
|
||
lintOptions {
|
||
abortOnError false
|
||
checkReleaseBuilds 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 '*/arm64-v8a/*.so'
|
||
exclude 'META-INF/proguard/androidx-annotations.pro'
|
||
}
|
||
|
||
bundle {
|
||
language {
|
||
enableSplit = false
|
||
}
|
||
density {
|
||
enableSplit = false
|
||
}
|
||
abi {
|
||
enableSplit = true
|
||
}
|
||
}
|
||
|
||
assetPacks = [":install_time_asset_pack"]
|
||
}
|
||
|
||
// ADD THIS AT THE BOTTOM
|
||
apply plugin: 'com.google.gms.google-services' |