Files
Abbidot_Android/FastBleLib/build.gradle
yezhiqiu a25e4a093d 1.移除ACCESS_MOCK_LOCATION 权限
2.MMKV启用AES-256加密保存
3.修复导出组件和 Deep Links的处理建议
4.加入混淆代码
5.删除蓝牙透传RAW TCP(socket)
2026-07-14 11:08:43 +08:00

35 lines
977 B
Groovy
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.library'
android {
compileSdkVersion 31
// buildToolsVersion "30.0.3"
defaultConfig {
minSdkVersion 21
targetSdkVersion 31
// 库模块自身不开启混淆(库模块 minifyEnabled 默认就是 false显式写死更安全
consumerProguardFiles "consumer-rules.pro"
}
buildTypes {
release {
// 库模块自身不混淆:产出的 AAR 必须是原始类,否则 App 侧无法直接调用/反射
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
namespace 'com.clj.fastble'
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
}
task makeAAR(type: Copy) {
from('build/outputs/aar/')
into('build/aarFloder/')
include('FastBleLib-release.aar')
rename('FastBleLib-release.aar', 'FastBLE-' + '"2.4.0".aar')
}
makeAAR.dependsOn(build)