build.gradle 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 28
  4. buildToolsVersion "28.0.3"
  5. defaultConfig {
  6. applicationId "org.fox.ttcomics2"
  7. buildConfigField "long", "TIMESTAMP", System.currentTimeMillis() + "L"
  8. minSdkVersion 19
  9. targetSdkVersion 27
  10. }
  11. signingConfigs {
  12. fdroid {
  13. if (project.hasProperty("FDROID_STORE_FILE")) {
  14. storeFile file(FDROID_STORE_FILE)
  15. storePassword FDROID_STORE_PASSWORD
  16. keyAlias FDROID_KEY_ALIAS
  17. keyPassword FDROID_KEY_PASSWORD
  18. }
  19. }
  20. }
  21. lintOptions {
  22. abortOnError false
  23. checkReleaseBuilds false
  24. disable 'MissingTranslation'
  25. }
  26. buildTypes {
  27. release {
  28. minifyEnabled false
  29. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
  30. }
  31. fdroid {
  32. minifyEnabled false
  33. versionNameSuffix "-fdroid"
  34. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
  35. signingConfig signingConfigs.fdroid
  36. //matchingFallbacks = ['release']
  37. }
  38. }
  39. }
  40. dependencies {
  41. implementation 'com.android.support:support-v4:28.0.0'
  42. implementation 'com.android.support:appcompat-v7:28.0.0'
  43. implementation 'com.android.support:cardview-v7:28.0.0'
  44. implementation 'com.android.support:design:28.0.0'
  45. implementation 'com.shamanland:fab:0.0.8'
  46. implementation 'jp.co.recruit_mp:android-HeaderFooterGridView:0.2.4'
  47. implementation 'com.github.bumptech.glide:glide:3.8.0'
  48. implementation 'ch.acra:acra:4.9.1'
  49. implementation 'com.ToxicBakery.viewpager.transforms:view-pager-transforms:[email protected]'
  50. implementation 'com.nhaarman.listviewanimations:lib-core:[email protected]'
  51. implementation 'frankiesardo:icepick:3.2.0'
  52. compileOnly 'frankiesardo:icepick-processor:3.2.0'
  53. implementation 'com.github.livefront:bridge:v1.1.2'
  54. annotationProcessor 'frankiesardo:icepick-processor:3.2.0'
  55. implementation 'com.google.android.gms:play-services-base:15.0.1'
  56. implementation 'com.google.android.gms:play-services-auth:15.0.1'
  57. implementation files('libs/nineoldandroids-2.4.0.jar')
  58. implementation 'com.gu:option:1.3'
  59. implementation 'net.rdrei.android.dirchooser:library:[email protected]'
  60. }