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

113 lines
2.6 KiB
Groovy
Raw Normal View History

2024-07-03 18:46:27 +08:00
// GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
buildscript {
repositories {
mavenCentral()
google()
jcenter()
// 添加奇葩SDK Maven地址
maven { url 'https://nexus.7pa.com/repository/qpyx-android-release' }
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
}
}
allprojects {
repositories {
mavenCentral()
google()
jcenter()
flatDir {
dirs 'libs'
}
maven { url 'https://nexus.7pa.com/repository/qpyx-android-release' }
}
}
apply plugin: 'com.android.application'
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
//聚合SDK基础组件
implementation 'com.qipa:supersdk-common:1.26'
//聚合SDK
implementation 'com.qipa:supersdk:2.26'
//recyclerview
implementation 'androidx.recyclerview:recyclerview:1.2.1'
//渠道代理模板SDK
implementation 'com.qipa:supersdk-channel-sample:5'
//道具商城SDK
implementation 'com.qipa:supersdk-gmstore:11'
implementation 'org.ow2.asm:asm:7.0'
//道具商城SDK海外
//implementation 'com.qipa:supersdk-gmstore-korea:19_13'
}
android {
compileSdkVersion 30
buildToolsVersion '30.0.3'
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig {
minSdkVersion 19
targetSdkVersion 30
applicationId 'com.emi.skzc'
ndk {
abiFilters 'armeabi-v7a'
}
versionCode 1
versionName '1.2.1'
}
lintOptions {
abortOnError false
}
aaptOptions {
noCompress = ['.unity3d', '.ress', '.resource', '.obb']
}
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
}
}
configurations.all {
resolutionStrategy {
force 'androidx.core:core:1.6.0'
force 'androidx.core:core-ktx:1.6.0'
}
}
}