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.

102 lines
3.6 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 22
  9. versionName "0.22"
  10. archivesBaseName = "FairEmail-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://repo1.maven.org/maven2/"
  37. }
  38. }
  39. dependencies {
  40. implementation fileTree(dir: 'libs', include: ['*.jar'])
  41. // https://mvnrepository.com/artifact/androidx.appcompat/appcompat
  42. // https://mvnrepository.com/artifact/androidx.recyclerview/recyclerview
  43. // https://mvnrepository.com/artifact/com.google.android.material/material
  44. // https://mvnrepository.com/artifact/androidx.browser/browser
  45. // https://mvnrepository.com/artifact/androidx.constraintlayout/constraintlayout
  46. // https://mvnrepository.com/artifact/androidx.lifecycle/lifecycle-runtime
  47. // https://mvnrepository.com/artifact/androidx.room/room-runtime
  48. // https://mvnrepository.com/artifact/androidx.paging/paging-runtime
  49. // https://developer.android.com/google/play/billing/billing_library_releases_notes
  50. // https://javaee.github.io/javamail/
  51. // https://jsoup.org/
  52. // http://www.freeutils.net/source/jcharset/
  53. // https://developer.android.com/topic/libraries/support-library/androidx-rn
  54. // https://developer.android.com/topic/libraries/support-library/refactor
  55. // https://developer.android.com/topic/libraries/architecture/adding-components.html
  56. // https://developer.android.com/jetpack/docs/release-notes
  57. def androidx_version = "1.0.0-rc01"
  58. def constraintlayout_version = "1.1.2"
  59. def lifecycle_version = "2.0.0-rc01"
  60. def room_version = "2.0.0-rc01"
  61. def paging_version = "2.0.0-rc01"
  62. def billingclient_version = "1.1"
  63. def javamail_version = "1.6.0"
  64. def jsoup_version = "1.11.3"
  65. def jcharset_version = "2.0"
  66. implementation "androidx.appcompat:appcompat:$androidx_version"
  67. implementation "androidx.recyclerview:recyclerview:$androidx_version"
  68. implementation "com.google.android.material:material:$androidx_version"
  69. implementation "androidx.browser:browser:$androidx_version"
  70. implementation "androidx.constraintlayout:constraintlayout:$constraintlayout_version"
  71. implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
  72. annotationProcessor "androidx.lifecycle:lifecycle-compiler:$lifecycle_version"
  73. implementation "androidx.room:room-runtime:$room_version"
  74. annotationProcessor "androidx.room:room-compiler:$room_version"
  75. implementation "androidx.paging:paging-runtime:$paging_version"
  76. implementation "com.android.billingclient:billing:$billingclient_version"
  77. implementation "com.sun.mail:android-mail:$javamail_version"
  78. implementation "com.sun.mail:android-activation:$javamail_version"
  79. implementation "org.jsoup:jsoup:$jsoup_version"
  80. implementation "net.freeutils:jcharset:$jcharset_version"
  81. }