mirror of
https://gitea.winboll.cc/Studio/WinBoLL.git
synced 2026-08-14 13:37:11 +08:00
f91b5b1b6a
libaes模块: - 新增 APPMSGMailUtils 邮件发送工具类,基于JavaMail SMTP协议 - 新增 SMTPConfigView 邮件配置视图控件,支持服务器/端口/发件人/授权码/收件人配置 - 新增 view_smtp_config.xml 布局文件 - 添加 android-mail:1.6.7 / android-activation:1.6.7 依赖(替代javax.mail解决Android AWT兼容问题) - 添加 INTERNET / ACCESS_NETWORK_STATE 权限 aes模块: - 新增 SMTPSettingsActivity 邮件设置页面 - 新增 activity_smtp_settings.xml 布局文件 - MainActivity toolbar菜单添加"SMTP设置"入口 - AndroidManifest.xml 注册 SMTPSettingsActivity - build.gradle 添加 packagingOptions 解决META-INF重复文件冲突
75 lines
2.3 KiB
Groovy
75 lines
2.3 KiB
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'
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_7
|
|
targetCompatibility JavaVersion.VERSION_1_7
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
// 下拉控件
|
|
api 'com.baoyz.pullrefreshlayout:library:1.2.0'
|
|
// 拼音搜索
|
|
// https://mvnrepository.com/artifact/com.github.open-android/pinyin4j
|
|
api 'com.github.open-android:pinyin4j:2.5.0'
|
|
// SSH
|
|
api 'com.jcraft:jsch:0.1.55'
|
|
// Html 解析
|
|
api 'org.jsoup:jsoup:1.13.1'
|
|
// 二维码类库
|
|
api 'com.google.zxing:core:3.4.1'
|
|
api 'com.journeyapps:zxing-android-embedded:3.6.0'
|
|
// 应用介绍页类库
|
|
api 'io.github.medyo:android-about-page:2.0.0'
|
|
// 网络连接类库
|
|
api 'com.squareup.okhttp3:okhttp:4.4.1'
|
|
// AndroidX 类库
|
|
api 'androidx.appcompat:appcompat:1.1.0'
|
|
//api 'com.google.android.material:material:1.4.0'
|
|
//api 'androidx.viewpager:viewpager:1.0.0'
|
|
//api 'androidx.vectordrawable:vectordrawable:1.1.0'
|
|
//api 'androidx.vectordrawable:vectordrawable-animated:1.1.0'
|
|
//api 'androidx.fragment:fragment:1.1.0'
|
|
|
|
// 米盟
|
|
//api 'com.miui.zeus:mimo-ad-sdk:5.3.+'//请使用最新版sdk
|
|
//注意:以下5个库必须要引入
|
|
//implementation 'androidx.appcompat:appcompat:1.4.1'
|
|
api 'androidx.recyclerview:recyclerview:1.0.0'
|
|
api 'com.google.code.gson:gson:2.8.5'
|
|
api 'com.github.bumptech.glide:glide:4.9.0'
|
|
//annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
|
|
|
|
// WinBoLL库 nexus.winboll.cc 地址
|
|
api 'cc.winboll.studio:libappbase:15.20.34'
|
|
// 备用库 jitpack.io 地址
|
|
//api 'com.github.ZhanGSKen:libappbase:appbase-v15.20.33'
|
|
|
|
// JavaMail SMTP (Android兼容版)
|
|
api 'com.sun.mail:android-mail:1.6.7'
|
|
api 'com.sun.mail:android-activation:1.6.7'
|
|
|
|
api fileTree(dir: 'libs', include: ['*.jar'])
|
|
}
|