Add javamail dependency

This commit is contained in:
cyp0633 2022-11-09 10:58:33 +08:00
parent 8fc2e150a2
commit 185943d2a3
Signed by: cyp0633
GPG Key ID: CF90D09FB1FDCE45
2 changed files with 8 additions and 0 deletions

View File

@ -42,6 +42,7 @@ android {
packagingOptions {
resources {
excludes += '/META-INF/{AL2.0,LGPL2.1}'
pickFirst 'META-INF/LICENSE.txt' // picks the JavaMail license file
}
}
}
@ -63,4 +64,8 @@ dependencies {
def nav_version = "2.5.3"
implementation "androidx.navigation:navigation-compose:$nav_version"
// java mail
implementation 'com.sun.mail:android-mail:1.6.2'
implementation 'com.sun.mail:android-activation:1.6.2'
}

View File

@ -10,6 +10,9 @@ dependencyResolutionManagement {
repositories {
google()
mavenCentral()
maven {
url "https://maven.java.net/content/groups/public/"
}
}
}
rootProject.name = "NanaMail"