sk-client/ChannelBackup/Android_Funtap/Gradle/build.gradle

138 lines
3.9 KiB
Groovy
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

// GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
buildscript {
repositories {
google()
jcenter()
maven {
url "https://maven.google.com"
}
mavenCentral()
maven {
url 'https://artifacts.funsys.vn/artifactory/sdk-virtual/'
}
maven {
url "https://artifact.bytedance.com/repository/AwemeOpenSDK"
}
gradlePluginPortal()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:[0.12.9, 0.99.99]'
classpath 'com.google.gms:google-services:4.3.4'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.3.0'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.20.0"
}
}
allprojects {
repositories {
google()
maven {
url "https://maven.google.com"
}
jcenter()
mavenCentral()
maven {
url 'https://artifacts.funsys.vn/artifactory/sdk-virtual/'
}
maven {
url "https://artifact.bytedance.com/repository/AwemeOpenSDK"
}
flatDir {
dirs 'libs'
}
}
}
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation fileTree(dir: "libs", include: ["*.aar"])
implementation 'com.ft.nicesdk:sdkmain:5.8.2'
implementation 'com.appsflyer:af-android-sdk:6.9.0'
implementation 'com.android.support:appcompat-v7:31.0.0'
implementation 'com.android.support:multidex:1.0.3'
implementation 'com.android.support.constraint:constraint-layout:2.1.3'
// Add the Firebase Crashlytics SDK.
implementation platform('com.google.firebase:firebase-bom:29.1.0')
implementation 'com.google.firebase:firebase-analytics'
implementation 'com.google.firebase:firebase-crashlytics'
implementation 'com.google.firebase:firebase-messaging'
//Play Asset Delivery上传Google资源分包
implementation 'com.google.android.play:core:1.10.0'
}
android {
compileSdkVersion 33
buildToolsVersion '32.0.0'
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig {
minSdkVersion 21
targetSdkVersion 33
applicationId 'vn.funtap.cybercity'
ndk {
abiFilters 'armeabi-v7a', 'arm64-v8a'
}
versionCode 1
versionName '1.2.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
}
}
assetPacks = [":install_time_asset_pack"]
}