- 升级 WinBoLL 库依赖版本至 15.20.x 系列: - libaes: 15.15.10 → 15.20.2 - libappbase: 15.15.23 → 15.20.9 - 完善 winboll 模块主题配置: - MyAppTheme 改用 Theme.AppCompat.Light.NoActionBar 解决 AppCompat 兼容问题 - 添加完整的应用主题属性定义 - 添加 MyDebugActivityTheme 调试主题 - 添加主窗口、工具栏、调试文字颜色定义
39 lines
967 B
Groovy
39 lines
967 B
Groovy
apply plugin: 'com.android.library'
|
||
apply plugin: 'maven-publish'
|
||
apply from: '../.winboll/winboll_lib_build.gradle'
|
||
apply from: '../.winboll/winboll_lint_build.gradle'
|
||
|
||
android {
|
||
// 适配MIUI12
|
||
compileSdkVersion 30
|
||
buildToolsVersion "30.0.3"
|
||
|
||
defaultConfig {
|
||
minSdkVersion 26
|
||
targetSdkVersion 30
|
||
}
|
||
buildTypes {
|
||
release {
|
||
minifyEnabled false
|
||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||
}
|
||
}
|
||
}
|
||
|
||
dependencies {
|
||
// 网络连接类库
|
||
api 'com.squareup.okhttp3:okhttp:4.4.1'
|
||
// Gson
|
||
api 'com.google.code.gson:gson:2.8.9'
|
||
// Html 解析
|
||
api 'org.jsoup:jsoup:1.13.1'
|
||
// 添加JSch依赖(SFTP核心,com.jcraft:jsch:0.1.54)
|
||
api 'com.jcraft:jsch:0.1.54'
|
||
|
||
// WinBoLL库 nexus.winboll.cc 地址
|
||
api 'cc.winboll.studio:libaes:15.20.2'
|
||
api 'cc.winboll.studio:libappbase:15.20.9'
|
||
|
||
api fileTree(dir: 'libs', include: ['*.jar'])
|
||
}
|