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.

122 lines
4.3 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 28
  4. defaultConfig {
  5. applicationId "org.dystopia.email"
  6. minSdkVersion 23
  7. targetSdkVersion 28
  8. versionCode 120
  9. versionName "1.120"
  10. archivesBaseName = "FairEmail-v$versionName"
  11. javaCompileOptions {
  12. annotationProcessorOptions {
  13. arguments = ["room.schemaLocation": "$projectDir/schemas".toString()]
  14. }
  15. }
  16. }
  17. lintOptions {
  18. disable 'MissingTranslation'
  19. }
  20. buildTypes {
  21. release {
  22. debuggable = false
  23. minifyEnabled = true
  24. useProguard = true
  25. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  26. }
  27. debug {
  28. debuggable = true
  29. minifyEnabled = true
  30. useProguard = true
  31. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  32. }
  33. }
  34. packagingOptions {
  35. pickFirst 'META-INF/LICENSE.txt'
  36. }
  37. }
  38. repositories {
  39. google()
  40. jcenter()
  41. maven {
  42. url "https://repo1.maven.org/maven2/"
  43. }
  44. }
  45. dependencies {
  46. implementation fileTree(dir: 'libs', include: ['*.jar'])
  47. // https://mvnrepository.com/artifact/androidx.appcompat/appcompat
  48. // https://mvnrepository.com/artifact/androidx.recyclerview/recyclerview
  49. // https://mvnrepository.com/artifact/com.google.android.material/material
  50. // https://mvnrepository.com/artifact/androidx.browser/browser
  51. // https://mvnrepository.com/artifact/androidx.constraintlayout/constraintlayout
  52. // https://mvnrepository.com/artifact/androidx.lifecycle/lifecycle-runtime
  53. // https://mvnrepository.com/artifact/androidx.room/room-runtime
  54. // https://mvnrepository.com/artifact/androidx.paging/paging-runtime
  55. // https://developer.android.com/google/play/billing/billing_library_releases_notes
  56. // https://javaee.github.io/javamail/
  57. // https://jsoup.org/
  58. // http://www.freeutils.net/source/jcharset/
  59. // https://developer.android.com/topic/libraries/support-library/androidx-rn
  60. // https://developer.android.com/topic/libraries/support-library/refactor
  61. // https://developer.android.com/topic/libraries/architecture/adding-components.html
  62. // https://developer.android.com/jetpack/docs/release-notes
  63. def androidx_version = "1.0.0"
  64. def constraintlayout_version = "1.1.3"
  65. def lifecycle_version = "2.0.0"
  66. def room_version = "2.0.0"
  67. def paging_version = "2.0.0"
  68. def billingclient_version = "1.1"
  69. def javamail_version = "1.6.2"
  70. def jsoup_version = "1.11.3"
  71. def jcharset_version = "2.0"
  72. def dnsjava_version = "2.1.8"
  73. def openpgp_version = "12.0"
  74. implementation "androidx.appcompat:appcompat:$androidx_version"
  75. implementation "androidx.recyclerview:recyclerview:$androidx_version"
  76. implementation "androidx.recyclerview:recyclerview-selection:$androidx_version"
  77. implementation "androidx.coordinatorlayout:coordinatorlayout:$androidx_version"
  78. implementation "androidx.constraintlayout:constraintlayout:$constraintlayout_version"
  79. implementation "com.google.android.material:material:$androidx_version"
  80. implementation "androidx.browser:browser:$androidx_version"
  81. implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
  82. annotationProcessor "androidx.lifecycle:lifecycle-compiler:$lifecycle_version"
  83. implementation "androidx.room:room-runtime:$room_version"
  84. annotationProcessor "androidx.room:room-compiler:$room_version"
  85. implementation "androidx.paging:paging-runtime:$paging_version"
  86. implementation "com.android.billingclient:billing:$billingclient_version"
  87. implementation "com.sun.mail:android-mail:$javamail_version"
  88. implementation "com.sun.mail:android-activation:$javamail_version"
  89. implementation "org.jsoup:jsoup:$jsoup_version"
  90. implementation "net.freeutils:jcharset:$jcharset_version"
  91. // http://www.xbill.org/dnsjava/
  92. implementation "dnsjava:dnsjava:$dnsjava_version"
  93. // https://github.com/open-keychain/openpgp-api
  94. implementation "org.sufficientlysecure:openpgp-api:$openpgp_version"
  95. // git clone https://android.googlesource.com/platform/frameworks/opt/colorpicker
  96. implementation project(path: ':colorpicker')
  97. }