forked from ZacSweers/CatchUp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgradle.properties
executable file
·118 lines (92 loc) · 4.17 KB
/
gradle.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
#
# Copyright (c) 2018 Zac Sweers
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
org.gradle.parallel=true
org.gradle.caching=true
org.gradle.configureondemand=true
kotlin.incremental=false
org.gradle.jvmargs=-Xmx6g -Dfile.encoding=UTF-8
# Kapt controls
kapt.include.compile.classpath=false
# New Kotlin IC flags
kotlin.compiler.suppressExperimentalICOptimizationsWarning=true
kotlin.compiler.keepIncrementalCompilationCachesInMemory=true
kotlin.compiler.preciseCompilationResultsBackup=true
useDebugSigning=true
kotlin.build.report.output=file,build_scan
kotlin.mpp.androidGradlePluginCompatibility.nowarn=true
org.gradle.unsafe.configuration-cache=true
android.useAndroidX=true
android.suppressUnsupportedOptionWarnings=android.suppressUnsupportedOptionWarnings,\
android.enableR8.fullMode,\
android.namespacedRClass,\
android.useMinimalKeepRules,\
android.disableResourceValidation,\
android.experimental.lint.missingBaselineIsEmptyBaseline,\
android.experimental.testOptions.managedDevices.setupTimeoutMinutes
android.experimental.testOptions.managedDevices.setupTimeoutMinutes=20
android.suppressUnsupportedCompileSdk=34
android.experimental.lint.missingBaselineIsEmptyBaseline=true
android.namespacedRClass=true
android.nonTransitiveRClass=true
android.uniquePackageNames=true
android.defaults.buildfeatures.aidl=false
android.defaults.buildfeatures.buildconfig=false
android.defaults.buildfeatures.databinding=false
android.defaults.buildfeatures.renderscript=false
android.defaults.buildfeatures.resvalues=false
android.defaults.buildfeatures.shaders=false
android.defaults.buildfeatures.viewbinding=false
android.library.defaults.buildfeatures.androidresources=false
# Gradle's auto-provisioning of JDKs doesn't properly support Apple Silicon
org.gradle.java.installations.auto-download=false
slack.robolectricTestSdks=28,29,30,31,32,33
slack.robolectricIVersion=4
slack.compileSdkVersion=android-34
slack.minSdkVersion=29
slack.targetSdkVersion=34
slack.latestCompileSdkWithSources=34
slack.location.slack-platform=:platform
# Dependency sorter doesn't really work on KMP projects
slack.sortDependencies.ignore=:service-api,:bookmarks
#slack.detekt.configs=config/detekt/detekt.yml
slack.detekt.baseline=config/detekt/baseline.xml
slack.allow-ksp=true
slack.allow-moshi-ir=true
slack.auto-apply.detekt=false
slack.log-thermals=true
# Use Zulu for auto-configured JDK downloads.
sgp.config.jvmVendor=AZUL
# Disable noisy logging about mismatched KSP and Kotlin versions
ksp.version.check=false
systemProp.org.gradle.android.cache-fix.ignoreVersionCheck=true
systemProp.gradle.enterprise.testretry.enabled=false
# Eventually move this to libraries:lazythreeten gradle.properties when gradle supports
# project-local properties
tzdbVersion=2021a
# This workaround is too problematic to keep enabled
systemProp.org.gradle.android.cache-fix.RoomSchemaLocationWorkaround.enabled=false
catchup.mavenUrls.snapshots.sonatype=https://oss.sonatype.org/content/repositories/snapshots
catchup.mavenUrls.snapshots.sonatypes01=https://s01.oss.sonatype.org/content/repositories/snapshots
catchup.mavenUrls.snapshots.androidx=https://androidx.dev/snapshots/latest/artifacts/repository
catchup.mavenUrls.kotlinDev=https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/
android.disableResourceValidation=true
# Disable DAGP's noisy warning about supported versions
dependency.analysis.compatibility=NONE
# SGP: https://github.com/slackhq/slack-gradle-plugin
#systemProp.slack.include-build.sgp=/path/to/slack-gradle-plugin
# DAGP: https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin
#systemProp.slack.include-build.dagp=/path/to/dependency-analysis-gradle-plugin
org.gradle.unsafe.configuration-cache-problems=warn