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.

97 lines
3.4 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 20
  9. versionName "0.20"
  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://javaee.github.io/javamail/
  50. // https://jsoup.org/
  51. // http://www.freeutils.net/source/jcharset/
  52. // https://developer.android.com/topic/libraries/support-library/androidx-rn
  53. // https://developer.android.com/topic/libraries/support-library/refactor
  54. // https://developer.android.com/topic/libraries/architecture/adding-components.html
  55. // https://developer.android.com/jetpack/docs/release-notes
  56. def androidx_version = "1.0.0-rc01"
  57. def constraintlayout_version = "1.1.2"
  58. def lifecycle_version = "2.0.0-rc01"
  59. def room_version = "2.0.0-rc01"
  60. def paging_version = "2.0.0-rc01"
  61. def javamail_version = "1.6.0"
  62. def jsoup_version = "1.11.3"
  63. def jcharset_version = "2.0"
  64. implementation "androidx.appcompat:appcompat:$androidx_version"
  65. implementation "androidx.recyclerview:recyclerview:$androidx_version"
  66. implementation "com.google.android.material:material:$androidx_version"
  67. implementation "androidx.browser:browser:$androidx_version"
  68. implementation "androidx.constraintlayout:constraintlayout:$constraintlayout_version"
  69. implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
  70. annotationProcessor "androidx.lifecycle:lifecycle-compiler:$lifecycle_version"
  71. implementation "androidx.room:room-runtime:$room_version"
  72. annotationProcessor "androidx.room:room-compiler:$room_version"
  73. implementation "androidx.paging:paging-runtime:$paging_version"
  74. implementation "com.sun.mail:android-mail:$javamail_version"
  75. implementation "com.sun.mail:android-activation:$javamail_version"
  76. implementation "org.jsoup:jsoup:$jsoup_version"
  77. implementation "net.freeutils:jcharset:$jcharset_version"
  78. }