-
Notifications
You must be signed in to change notification settings - Fork 212
Expand file tree
/
Copy pathgradle.properties
More file actions
executable file
·146 lines (114 loc) · 4.84 KB
/
gradle.properties
File metadata and controls
executable file
·146 lines (114 loc) · 4.84 KB
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
#
# 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=true
org.gradle.jvmargs=-Xmx4g -Dfile.encoding=UTF-8
# New Kotlin IC flags
kotlin.compiler.suppressExperimentalICOptimizationsWarning=true
# Slightly faster artifact sharing
kotlin.jvm.addClassesVariant=true
useDebugSigning=true
# TODO disable when testing project isolation due to https://youtrack.jetbrains.com/issue/KT-64626
kotlin.build.report.output=file,build_scan
org.gradle.unsafe.configuration-cache=true
android.useAndroidX=true
android.suppressUnsupportedOptionWarnings=\
android.disableResourceValidation,\
android.enableR8.fullMode,\
android.experimental.lint.missingBaselineIsEmptyBaseline,\
android.experimental.testOptions.managedDevices.setupTimeoutMinutes,\
android.lint.useK2Uast,\
android.namespacedRClass,\
android.suppressUnsupportedOptionWarnings,\
android.useMinimalKeepRules
android.experimental.testOptions.managedDevices.setupTimeoutMinutes=20
android.suppressUnsupportedCompileSdk=36
android.lint.useK2Uast=true
android.experimental.lint.missingBaselineIsEmptyBaseline=true
android.namespacedRClass=true
android.nonTransitiveRClass=true
android.uniquePackageNames=true
android.defaults.buildfeatures.databinding=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
android.newDsl=true
android.builtInKotlin=true
android.disallowKotlinSourceSets=true
foundry.android.defaultNamespacePrefix=catchup
foundry.android.robolectric.testSdks=28,29,30,31,32,33
foundry.android.robolectric.iVersion=4
foundry.android.compileSdkVersion=36
foundry.android.minSdkVersion=30
foundry.android.targetSdkVersion=36
foundry.android.latestCompileSdkWithSources=36
foundry.location.foundry-platform=:platform
# Dependency sorter doesn't really work on KMP projects
foundry.sortDependencies.ignore=:service-api,:bookmarks
#foundry.detekt.configs=config/detekt/detekt.yml
slack.detekt.baseline=config/detekt/baseline.xml
foundry.ksp.enable=true
foundry.moshi.ir.enable=true
foundry.auto-apply.detekt=false
foundry.logging.thermals=true
foundry.lint.baseline-file-name=lint-baseline.xml
foundry.kotlin.allowWarnings=true
foundry.beta=true
# Use Zulu for auto-configured JDK downloads.
foundry.jvm.vendor=AZUL
foundry.kotlin.optIns=\
kotlin.ExperimentalStdlibApi,\
kotlin.contracts.ExperimentalContracts,\
kotlin.experimental.ExperimentalTypeInference,\
kotlin.time.ExperimentalTime
# Enhance not null annotated type parameter's types to definitely not null types
# (@NotNull T => T & Any)
foundry.kotlin.freeArgs=\
-Xannotation-default-target=param-property
# -Xassertions=jvm
# Match JVM assertion behavior:
# https://publicobject.com/2019/11/18/kotlins-assert-is-not-like-javas-assert/
# -Xemit-jvm-type-annotations
# Potentially useful for static analysis tools or annotation processors.
# -Xjspecify-annotations=strict
# https://kotlinlang.org/docs/whatsnew1520.html#support-for-jspecify-nullness-annotations
# -Xjsr305=strict
foundry.kotlin.jvmFreeArgs=\
-Xassertions=jvm,\
-Xemit-jvm-type-annotations,\
-Xjspecify-annotations=strict,\
-Xjsr305=strict
foundry.kotlin.progressive=true
metro.generateContributionProviders=true
systemProp.org.gradle.android.cache-fix.ignoreVersionCheck=true
systemProp.develocity.testretry.enabled=false
catchup.mavenUrls.snapshots.sonatype=https://central.sonatype.com/repository/maven-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
# Foundry: https://github.com/slackhq/foundry
#systemProp.catchup.include-build.foundry=/path/to/foundry
# DAGP: https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin
#systemProp.catchup.include-build.dagp=/path/to/dependency-analysis-gradle-plugin
# Anvil: https://github.com/square/anvil
#systemProp.catchup.include-build.anvil=/path/to/anvil