mirror of
https://gitea.winboll.cc/Studio/WinBoLL.git
synced 2026-08-14 05:27:10 +08:00
772fb345e6
- APPMSGMailUtils.java: 移除错误的android.se.omapi.Session导入 - APPMSGMailUtils.java: 替换java.net.*为javax.mail.*导入 - APPMSGMailUtils.java: 使用全限定名避免Message命名冲突 - libappbase/build.gradle: 添加com.sun.mail依赖
32 lines
803 B
Groovy
32 lines
803 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'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_7
|
|
targetCompatibility JavaVersion.VERSION_1_7
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api fileTree(dir: 'libs', include: ['*.jar'])
|
|
api 'com.sun.mail:android-mail:1.6.7'
|
|
api 'com.sun.mail:android-activation:1.6.7'
|
|
}
|