No Description

build.gradle 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. buildscript {
  2. repositories {
  3. google()
  4. jcenter()
  5. }
  6. dependencies {
  7. classpath 'com.android.tools.build:gradle:3.3.2'
  8. classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
  9. }
  10. }
  11. repositories {
  12. google()
  13. jcenter()
  14. }
  15. apply plugin: 'com.android.library'
  16. apply plugin: 'com.github.dcendents.android-maven'
  17. group='com.github.nextcloud'
  18. android {
  19. compileSdkVersion 28
  20. buildToolsVersion '28.0.3'
  21. defaultConfig {
  22. minSdkVersion 14
  23. targetSdkVersion 28
  24. versionCode 1
  25. versionName '1.0'
  26. }
  27. buildTypes {
  28. release {
  29. minifyEnabled false
  30. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  31. }
  32. }
  33. compileOptions {
  34. sourceCompatibility JavaVersion.VERSION_1_8
  35. targetCompatibility JavaVersion.VERSION_1_8
  36. }
  37. lintOptions{
  38. // translations are imported from transifex, so no need to check here
  39. disable 'MissingTranslation'
  40. disable 'ExtraTranslation'
  41. disable 'MissingQuantity'
  42. disable 'InconsistentArrays'
  43. disable 'TypographyEllipsis'
  44. }
  45. productFlavors {
  46. }
  47. }
  48. dependencies {
  49. implementation "androidx.appcompat:appcompat:1.0.2"
  50. implementation 'androidx.annotation:annotation:1.0.2'
  51. implementation 'androidx.core:core:1.0.2'
  52. implementation 'androidx.fragment:fragment:1.0.0'
  53. implementation 'com.google.code.gson:gson:2.8.5'
  54. implementation 'io.reactivex.rxjava2:rxjava:2.2.8'
  55. implementation 'commons-io:commons-io:2.6'
  56. implementation 'com.squareup.retrofit2:retrofit:2.5.0'
  57. implementation 'com.squareup.okhttp3:okhttp:3.12.3'
  58. // Required for local unit tests (JUnit 4 framework)
  59. testImplementation 'junit:junit:4.12'
  60. // required if you want to use Mockito for unit tests
  61. testImplementation 'org.mockito:mockito-core:2.27.0'
  62. }