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.

107 lines
3.8 KiB

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 47
  9. versionName "0.47"
  10. archivesBaseName = "FairEmail-v$versionName"
  11. javaCompileOptions {
  12. annotationProcessorOptions {
  13. arguments = ["room.schemaLocation": "$projectDir/schemas".toString()]
  14. }
  15. }
  16. }
  17. buildTypes {
  18. release {
  19. debuggable = false
  20. minifyEnabled = true
  21. useProguard = true
  22. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  23. }
  24. debug {
  25. debuggable = true
  26. minifyEnabled = true
  27. useProguard = true
  28. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  29. }
  30. }
  31. packagingOptions {
  32. pickFirst 'META-INF/LICENSE.txt'
  33. }
  34. }
  35. repositories {
  36. jcenter()
  37. maven {
  38. url "https://repo1.maven.org/maven2/"
  39. }
  40. }
  41. dependencies {
  42. implementation fileTree(dir: 'libs', include: ['*.jar'])
  43. // https://mvnrepository.com/artifact/androidx.appcompat/appcompat
  44. // https://mvnrepository.com/artifact/androidx.recyclerview/recyclerview
  45. // https://mvnrepository.com/artifact/com.google.android.material/material
  46. // https://mvnrepository.com/artifact/androidx.browser/browser
  47. // https://mvnrepository.com/artifact/androidx.constraintlayout/constraintlayout
  48. // https://mvnrepository.com/artifact/androidx.lifecycle/lifecycle-runtime
  49. // https://mvnrepository.com/artifact/androidx.room/room-runtime
  50. // https://mvnrepository.com/artifact/androidx.paging/paging-runtime
  51. // https://developer.android.com/google/play/billing/billing_library_releases_notes
  52. // https://javaee.github.io/javamail/
  53. // https://jsoup.org/
  54. // http://www.freeutils.net/source/jcharset/
  55. // https://developer.android.com/topic/libraries/support-library/androidx-rn
  56. // https://developer.android.com/topic/libraries/support-library/refactor
  57. // https://developer.android.com/topic/libraries/architecture/adding-components.html
  58. // https://developer.android.com/jetpack/docs/release-notes
  59. // https://github.com/open-keychain/openpgp-api
  60. def androidx_version = "1.0.0-rc02"
  61. def constraintlayout_version = "1.1.3"
  62. def lifecycle_version = "2.0.0-rc01"
  63. def room_version = "2.0.0-rc01"
  64. def paging_version = "2.0.0-rc01"
  65. def billingclient_version = "1.1"
  66. def javamail_version = "1.6.2"
  67. def jsoup_version = "1.11.3"
  68. def jcharset_version = "2.0"
  69. implementation "androidx.appcompat:appcompat:$androidx_version"
  70. implementation "androidx.recyclerview:recyclerview:$androidx_version"
  71. implementation "androidx.coordinatorlayout:coordinatorlayout:#androidx_version"
  72. implementation "com.google.android.material:material:$androidx_version"
  73. implementation "androidx.browser:browser:$androidx_version"
  74. implementation "androidx.constraintlayout:constraintlayout:$constraintlayout_version"
  75. implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
  76. annotationProcessor "androidx.lifecycle:lifecycle-compiler:$lifecycle_version"
  77. implementation "androidx.room:room-runtime:$room_version"
  78. annotationProcessor "androidx.room:room-compiler:$room_version"
  79. implementation "androidx.paging:paging-runtime:$paging_version"
  80. implementation "com.android.billingclient:billing:$billingclient_version"
  81. implementation "com.sun.mail:android-mail:$javamail_version"
  82. implementation "com.sun.mail:android-activation:$javamail_version"
  83. implementation "org.jsoup:jsoup:$jsoup_version"
  84. implementation "net.freeutils:jcharset:$jcharset_version"
  85. }