dsvoronin

avito.gradle.properties

Jun 30th, 2020
414
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # -------------------------------------------------------------------
  2. # Gradle settings
  3. # -------------------------------------------------------------------
  4. org.gradle.jvmargs=-Xmx5g -Dfile.encoding=UTF-8
  5. org.gradle.daemon=true
  6. ## Build Cache (see ./gradle/buildCacheSettings.gradle for more)
  7. org.gradle.caching=true
  8. # https://guides.gradle.org/using-build-cache/#debugging_and_diagnosing_cache_misses
  9. org.gradle.caching.debug=false
  10. org.gradle.parallel=true
  11. systemProp.kotlin.daemon.jvm.options=-Xmx4G
  12. # Reduce internal timeout to fail a build w/o vpn as fast as possible
  13. systemProp.org.gradle.internal.http.connectionTimeout=20000
  14. systemProp.org.gradle.internal.http.socketTimeout=20000
  15. # https://blog.gradle.org/introducing-file-system-watching
  16. org.gradle.unsafe.watch-fs=false
  17. # https://docs.gradle.org/6.5-rc-1/userguide/configuration_cache.html
  18. # Not supported in AGP until 4.1
  19. org.gradle.unsafe.configuration-cache=off
  20. # -------------------------------------------------------------------
  21. # Android Gradle plugin (AGP)
  22. # -------------------------------------------------------------------
  23. # Will be resolved on-the-fly
  24. android.builder.sdkDownload=true
  25. android.enableD8=true
  26. # TODO enable MBS-6221
  27. android.enableR8.fullMode=false
  28. android.useAndroidX=true
  29. # TODO disable MBS-7347
  30. android.enableJetifier=true
  31. android.enableWorkers=true
  32. # TODO: Remove after: https://issuetracker.google.com/issues/142580430
  33. # TODO: Uncomment in AGP 3.6
  34. # android.jetifier.blacklist=.*bcprov.*
  35. # Do not include transitive resources into R.java
  36. android.namespacedRClass=true
  37. android.suppressUnsupportedOptionWarnings=android.suppressUnsupportedOptionWarnings,android.enableSeparateAnnotationProcessing,android.namespacedRClass
  38. # https://developer.android.com/studio/build/optimize-your-build#annotation_processors
  39. # Android Gradle plugin executes all annotation processors in a separate task and allows the Java compilation tasks to run incrementally.
  40. # Room INCAP: https://issuetracker.google.com/issues/112110217
  41. android.enableSeparateAnnotationProcessing=true
  42. # https://github.com/robolectric/robolectric/issues/4571
  43. android.testConfig.useRelativePath=true
  44. # -------------------------------------------------------------------
  45. # Kotlin
  46. # -------------------------------------------------------------------
  47. kotlinVersion=1.3.72
  48. kotlin.incremental=true
  49. allow.original.kapt=false
  50. # MBS-5626:
  51. # https://youtrack.jetbrains.com/issue/KT-31511 - cache miss
  52. # https://youtrack.jetbrains.com/issue/KT-31246 - swallows compiler errors
  53. kapt.use.worker.api=false
  54. kapt.incremental.apt=true
  55. kapt.include.compile.classpath=false
  56. kaptBuildCache=true
  57. kaptMapDiagnosticLocations=false
  58. # https://youtrack.jetbrains.com/issue/KT-11978
  59. javaIncrementalCompilation=false
  60. # -------------------------------------------------------------------
Add Comment
Please, Sign In to add comment