Simple email application for Android. Original source code: https://framagit.org/dystopia-project/simple-email
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.9 KiB

  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 28
  4. defaultConfig {
  5. applicationId "eu.faircode.email"
  6. minSdkVersion 23
  7. targetSdkVersion 28
  8. versionCode 1
  9. versionName "0.1"
  10. archivesBaseName = "SafeEmail-v$versionName"
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled = true
  15. useProguard = true
  16. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  17. }
  18. debug {
  19. minifyEnabled = true
  20. useProguard = true
  21. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  22. }
  23. }
  24. packagingOptions {
  25. pickFirst 'META-INF/LICENSE.txt'
  26. }
  27. }
  28. repositories {
  29. jcenter()
  30. maven {
  31. url "https://maven.java.net/content/groups/public/"
  32. }
  33. }
  34. dependencies {
  35. implementation fileTree(dir: 'libs', include: ['*.jar'])
  36. // https://developer.android.com/topic/libraries/support-library/revisions.html
  37. implementation 'com.android.support:appcompat-v7:28.0.0-alpha1'
  38. implementation 'com.android.support.constraint:constraint-layout:1.1.+'
  39. implementation 'com.android.support:recyclerview-v7:28.0.0-alpha1'
  40. implementation 'com.android.support:design:28.0.0-alpha1'
  41. // https://developer.android.com/topic/libraries/architecture/adding-components.html
  42. implementation "android.arch.lifecycle:extensions:1.1.+"
  43. implementation "android.arch.persistence.room:runtime:1.1.+"
  44. annotationProcessor "android.arch.lifecycle:compiler:1.1.+"
  45. annotationProcessor "android.arch.persistence.room:compiler:1.1.+"
  46. // https://javaee.github.io/javamail/
  47. implementation 'com.sun.mail:android-mail:1.6.0'
  48. implementation 'com.sun.mail:android-activation:1.6.0'
  49. // https://jsoup.org/
  50. implementation 'org.jsoup:jsoup:1.11.3'
  51. }