148 lines
4.1 KiB
Groovy
148 lines
4.1 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'
|
|
classpath 'com.google.gms:google-services:4.3.5'
|
|
}
|
|
}
|
|
|
|
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: ["*.aar"])
|
|
|
|
// implementation(name: 'SuperSDK_v1.1.20_23051001', ext: 'aar')
|
|
|
|
// android material design
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
|
implementation 'com.google.android.material:material:1.3.0'
|
|
|
|
// appsflyer analytics
|
|
implementation 'com.appsflyer:af-android-sdk:6.5.0'
|
|
|
|
// firebase analytics
|
|
implementation 'com.google.firebase:firebase-analytics:21.2.0'
|
|
implementation 'com.google.firebase:firebase-core:21.1.1'
|
|
implementation 'com.google.firebase:firebase-installations:17.0.0'
|
|
|
|
// network
|
|
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.3'
|
|
implementation 'com.squareup.retrofit2:retrofit:2.6.2'
|
|
implementation 'com.squareup.retrofit2:converter-gson:2.5.0'
|
|
|
|
// image loading
|
|
implementation 'com.github.bumptech.glide:glide:4.11.0'
|
|
|
|
// purchase
|
|
implementation 'com.android.billingclient:billing:5.0.0'
|
|
|
|
// facebook sign-in
|
|
implementation 'com.facebook.android:facebook-android-sdk:13.1.0'
|
|
|
|
// line sign-in
|
|
implementation 'com.linecorp:linesdk:5.0.1'
|
|
|
|
// google sign-in
|
|
implementation 'com.google.android.gms:play-services-auth:19.0.0'
|
|
|
|
// google play referrer
|
|
implementation 'com.android.installreferrer:installreferrer:2.2'
|
|
|
|
// aihelp
|
|
implementation 'net.aihelp:android-aihelp-aar:4.3.+'
|
|
|
|
// google play game service sign-in (Optional選用)
|
|
implementation 'com.google.android.gms:play-services-vision:20.1.3'
|
|
|
|
// google admob (Optional選用)
|
|
implementation 'com.google.android.gms:play-services-ads:21.4.0'
|
|
implementation 'com.google.ads.mediation:facebook:6.12.0.0'
|
|
|
|
|
|
//Play Asset Delivery锛堜笂浼燝oogle璧勬簮鍒嗗寘锛埳
|
|
implementation 'com.google.android.play:core:1.10.0'
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 33
|
|
buildToolsVersion '30.0.3'
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdkVersion 21
|
|
targetSdkVersion 33
|
|
applicationId 'com.icantw.ac'
|
|
ndk {
|
|
abiFilters 'armeabi-v7a','arm64-v8a'
|
|
}
|
|
versionCode 21
|
|
versionName '1.2.21'
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|
|
|
|
assetPacks = [":install_time_asset_pack"]
|
|
}
|
|
|
|
apply plugin: 'com.google.gms.google-services' |