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.

66 lines
2.0 KiB

6 years ago
  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 4
  9. versionName "0.4"
  10. archivesBaseName = "SafeEmail-v$versionName"
  11. javaCompileOptions {
  12. annotationProcessorOptions {
  13. arguments = ["room.schemaLocation": "$projectDir/schemas".toString()]
  14. }
  15. }
  16. }
  17. buildTypes {
  18. release {
  19. minifyEnabled = true
  20. useProguard = true
  21. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  22. }
  23. debug {
  24. minifyEnabled = true
  25. useProguard = true
  26. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  27. }
  28. }
  29. packagingOptions {
  30. pickFirst 'META-INF/LICENSE.txt'
  31. }
  32. }
  33. repositories {
  34. jcenter()
  35. maven {
  36. url "https://maven.java.net/content/groups/public/"
  37. }
  38. }
  39. dependencies {
  40. implementation fileTree(dir: 'libs', include: ['*.jar'])
  41. // https://developer.android.com/topic/libraries/support-library/revisions.html
  42. implementation 'com.android.support:appcompat-v7:28.0.0-alpha1'
  43. implementation 'com.android.support.constraint:constraint-layout:1.1.+'
  44. implementation 'com.android.support:recyclerview-v7:28.0.0-alpha1'
  45. implementation 'com.android.support:design:28.0.0-alpha1'
  46. // https://developer.android.com/topic/libraries/architecture/adding-components.html
  47. implementation "android.arch.lifecycle:extensions:1.1.+"
  48. implementation "android.arch.persistence.room:runtime:1.1.+"
  49. annotationProcessor "android.arch.lifecycle:compiler:1.1.+"
  50. annotationProcessor "android.arch.persistence.room:compiler:1.1.+"
  51. // https://javaee.github.io/javamail/
  52. implementation 'com.sun.mail:android-mail:1.6.0'
  53. implementation 'com.sun.mail:android-activation:1.6.0'
  54. // https://jsoup.org/
  55. implementation 'org.jsoup:jsoup:1.11.3'
  56. }