open/demo_src/UDP_Client/MobileIMSDK4aDemo_udp/app/build.gradle
2025-01-18 07:55:12 +00:00

50 lines
1.8 KiB
Groovy
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

apply plugin: 'com.android.application'
android {
compileSdk 34
defaultConfig {
applicationId "net.x52im.mobileimsdk.android.demo_udp"
minSdkVersion 14
targetSdkVersion 34
versionCode 105
versionName "v6.5b240429"
}
buildTypes {
release {
// true表示release时开启代码混淆false表示不混淆
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
// true表示Debug时开启代码混淆false表示不混淆
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
namespace 'net.x52im.mobileimsdk.android.demo'
}
dependencies {
//implementation fileTree(dir: 'libs', include: ['*.jar'])
// implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.10.0'
// MobileIMSDK的依赖库
implementation 'com.google.code.gson:gson:2.9.0'
// MobileIMSDK的SDK库
implementation files('libs/MobileIMSDKServer_META.jar')
implementation files('libs/MobileIMSDK4a_udp.jar')
// 仅用于Demo中在申请通知权限Android 14及以上系统中强制要求通知权限必须向用户申请
//** 一个支持Andriod14及以下版本的动态权限管理库来源https://github.com/getActivity/XXPermissions
implementation 'com.github.getActivity:XXPermissions:18.62'
}