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.

118 lines
4.1 KiB

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
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 74
  9. versionName "1.74"
  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. jcenter()
  40. maven {
  41. url "https://repo1.maven.org/maven2/"
  42. }
  43. }
  44. dependencies {
  45. implementation fileTree(dir: 'libs', include: ['*.jar'])
  46. // https://mvnrepository.com/artifact/androidx.appcompat/appcompat
  47. // https://mvnrepository.com/artifact/androidx.recyclerview/recyclerview
  48. // https://mvnrepository.com/artifact/com.google.android.material/material
  49. // https://mvnrepository.com/artifact/androidx.browser/browser
  50. // https://mvnrepository.com/artifact/androidx.constraintlayout/constraintlayout
  51. // https://mvnrepository.com/artifact/androidx.lifecycle/lifecycle-runtime
  52. // https://mvnrepository.com/artifact/androidx.room/room-runtime
  53. // https://mvnrepository.com/artifact/androidx.paging/paging-runtime
  54. // https://developer.android.com/google/play/billing/billing_library_releases_notes
  55. // https://javaee.github.io/javamail/
  56. // https://jsoup.org/
  57. // http://www.freeutils.net/source/jcharset/
  58. // https://developer.android.com/topic/libraries/support-library/androidx-rn
  59. // https://developer.android.com/topic/libraries/support-library/refactor
  60. // https://developer.android.com/topic/libraries/architecture/adding-components.html
  61. // https://developer.android.com/jetpack/docs/release-notes
  62. // https://github.com/open-keychain/openpgp-api
  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-rc01"
  67. def paging_version = "2.0.0-rc01"
  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. implementation "androidx.appcompat:appcompat:$androidx_version"
  74. implementation "androidx.recyclerview:recyclerview:$androidx_version"
  75. implementation "androidx.coordinatorlayout:coordinatorlayout:$androidx_version"
  76. implementation "androidx.constraintlayout:constraintlayout:$constraintlayout_version"
  77. implementation "com.google.android.material:material:$androidx_version"
  78. implementation "androidx.browser:browser:$androidx_version"
  79. implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
  80. annotationProcessor "androidx.lifecycle:lifecycle-compiler:$lifecycle_version"
  81. implementation "androidx.room:room-runtime:$room_version"
  82. annotationProcessor "androidx.room:room-compiler:$room_version"
  83. implementation "androidx.paging:paging-runtime:$paging_version"
  84. implementation "com.android.billingclient:billing:$billingclient_version"
  85. implementation "com.sun.mail:android-mail:$javamail_version"
  86. implementation "com.sun.mail:android-activation:$javamail_version"
  87. implementation "org.jsoup:jsoup:$jsoup_version"
  88. implementation "net.freeutils:jcharset:$jcharset_version"
  89. // http://www.xbill.org/dnsjava/
  90. implementation "dnsjava:dnsjava:$dnsjava_version"
  91. // git clone https://android.googlesource.com/platform/frameworks/opt/colorpicker
  92. implementation project(path: ':colorpicker')
  93. }