Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -------------------------------------------------------------------
- # Gradle settings
- # -------------------------------------------------------------------
- org.gradle.jvmargs=-Xmx5g -Dfile.encoding=UTF-8
- org.gradle.daemon=true
- ## Build Cache (see ./gradle/buildCacheSettings.gradle for more)
- org.gradle.caching=true
- # https://guides.gradle.org/using-build-cache/#debugging_and_diagnosing_cache_misses
- org.gradle.caching.debug=false
- org.gradle.parallel=true
- systemProp.kotlin.daemon.jvm.options=-Xmx4G
- # Reduce internal timeout to fail a build w/o vpn as fast as possible
- systemProp.org.gradle.internal.http.connectionTimeout=20000
- systemProp.org.gradle.internal.http.socketTimeout=20000
- # https://blog.gradle.org/introducing-file-system-watching
- org.gradle.unsafe.watch-fs=false
- # https://docs.gradle.org/6.5-rc-1/userguide/configuration_cache.html
- # Not supported in AGP until 4.1
- org.gradle.unsafe.configuration-cache=off
- # -------------------------------------------------------------------
- # Android Gradle plugin (AGP)
- # -------------------------------------------------------------------
- # Will be resolved on-the-fly
- android.builder.sdkDownload=true
- android.enableD8=true
- # TODO enable MBS-6221
- android.enableR8.fullMode=false
- android.useAndroidX=true
- # TODO disable MBS-7347
- android.enableJetifier=true
- android.enableWorkers=true
- # TODO: Remove after: https://issuetracker.google.com/issues/142580430
- # TODO: Uncomment in AGP 3.6
- # android.jetifier.blacklist=.*bcprov.*
- # Do not include transitive resources into R.java
- android.namespacedRClass=true
- android.suppressUnsupportedOptionWarnings=android.suppressUnsupportedOptionWarnings,android.enableSeparateAnnotationProcessing,android.namespacedRClass
- # https://developer.android.com/studio/build/optimize-your-build#annotation_processors
- # Android Gradle plugin executes all annotation processors in a separate task and allows the Java compilation tasks to run incrementally.
- # Room INCAP: https://issuetracker.google.com/issues/112110217
- android.enableSeparateAnnotationProcessing=true
- # https://github.com/robolectric/robolectric/issues/4571
- android.testConfig.useRelativePath=true
- # -------------------------------------------------------------------
- # Kotlin
- # -------------------------------------------------------------------
- kotlinVersion=1.3.72
- kotlin.incremental=true
- allow.original.kapt=false
- # MBS-5626:
- # https://youtrack.jetbrains.com/issue/KT-31511 - cache miss
- # https://youtrack.jetbrains.com/issue/KT-31246 - swallows compiler errors
- kapt.use.worker.api=false
- kapt.incremental.apt=true
- kapt.include.compile.classpath=false
- kaptBuildCache=true
- kaptMapDiagnosticLocations=false
- # https://youtrack.jetbrains.com/issue/KT-11978
- javaIncrementalCompilation=false
- # -------------------------------------------------------------------
Add Comment
Please, Sign In to add comment