-
Notifications
You must be signed in to change notification settings - Fork 0
/
gradle.properties
145 lines (110 loc) · 5.28 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
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
# suppress inspection "UnusedProperty" for whole file
# suppress inspection "AlphaUnsortedPropertiesFile" for whole file
# Project-wide Gradle settings.
# For IDE users:
# Gradle settings configured through the IDE *override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
org.gradle.jvmargs=-Xms1G -Xmx4G -XX:MaxMetaspaceSize=1G -XX:+UseParallelGC -Dfile.encoding=UTF-8
kotlin.daemon.jvmargs=-Xms1G -Xmx3G -XX:MaxMetaspaceSize=1G -XX:+UseParallelGC
org.gradle.parallel=true
org.gradle.caching=true
org.gradle.configureondemand=true
org.gradle.vfs.watch=true
org.gradle.configuration-cache=true
org.gradle.configuration-cache.problems=warn
org.gradle.configuration-cache.max-problems=99999
# Unstable experimental project isolation.
# https://docs.gradle.org/current/userguide/isolated_projects.html
#org.gradle.unsafe.isolated-projects=true
org.gradle.logging.stacktrace=all
#org.gradle.java.installations.auto-detect=false
org.gradle.java.installations.auto-download=false
org.gradle.dependency.verification.console=verbose
systemProp.file.encoding=utf-8
systemProp.org.gradle.internal.publish.checksums.insecure=true
android.useAndroidX=true
android.enableJetifier=false
# Enable namespacing of each library's R class.
# So that its R class includes only the resources declared in the library itself
# and none from the library's dependencies.
# Thereby, reduce the size of the R class for that library.
android.nonTransitiveRClass=true
# Generate manifest class as a ".class" directly rather than a Java source file.
android.generateManifestClass=true
# Make R fields non-final to improve build speeds.
# http://tools.android.com/tips/non-constant-fields
android.nonFinalResIds=true
# Use relative paths for better Gradle caching of library build tasks.
android.experimental.cacheCompileLibResources=true
# Generate the text map of source sets and absolute paths to allow
# generating relative paths from absolute paths later in the build.
android.experimental.enableSourceSetPathsMap=true
# Specify the Lint version to use a more recent version than the one bundled.
# https://googlesamples.github.io/android-custom-lint-rules/usage/newer-lint.md.html
# https://issuetracker.google.com/issues/185418482#comment32
# https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
# https://maven.google.com/web/index.html#com.android.tools.build:gradle
android.experimental.lint.version=8.8.0-alpha07
android.experimental.lint.missingBaselineIsEmptyBaseline=true
# Ironically, this property itself is also experimental, so we have to suppress it too.
android.suppressUnsupportedOptionWarnings=android.suppressUnsupportedOptionWarnings,\
android.lint.useK2Uast,\
android.experimental.lint.missingBaselineIsEmptyBaseline,\
android.experimental.lint.version
# R8 full mode
# https://r8.googlesource.com/r8/+/49d3bac/compatibility-faq.md#r8-full-mode
android.enableR8.fullMode=true
# Only keep the single relevant constructor for types mentioned in XML files
# instead of using a parameter wildcard, which keeps them all.
android.useMinimalKeepRules=true
# Enable precise shrinking in the new resource shrinker.
# Not safe for the app, but OK for a lib: https://issuetracker.google.com/issues/207800963
android.experimental.enableNewResourceShrinker.preciseShrinking=true
# Disable Android build features by default (enable in build.gradle if needed)
android.defaults.buildfeatures.aidl=false
android.defaults.buildfeatures.buildconfig=false
android.defaults.buildfeatures.compose=false
android.defaults.buildfeatures.databinding=false
android.defaults.buildfeatures.prefab=false
android.defaults.buildfeatures.renderscript=false
android.defaults.buildfeatures.resvalues=false
android.defaults.buildfeatures.shaders=false
android.defaults.buildfeatures.viewbinding=false
kotlin.code.style=official
kotlin.compiler.preciseCompilationResultsBackup=true
kotlin.compiler.suppressExperimentalICOptimizationsWarning=true
kotlin.daemon.useFallbackStrategy=false
kotlin.incremental.useClasspathSnapshot=true
kotlin.incremental.usePreciseJavaTracking=false
kotlin.incremental=true
kotlin.js.generate.executable.default=false
kotlin.js.ir.output.granularity=whole-program
kotlin.mpp.androidSourceSetLayoutVersion=2
kotlin.mpp.commonizerLogLevel=info
kotlin.mpp.enableCInteropCommonization=true
kotlin.mpp.import.enableKgpDependencyResolution=true
kotlin.mpp.stability.nowarn=true
kotlin.native.binary.memoryModel=experimental
kotlin.native.disableCompilerDaemon=true
kotlin.setJvmTargetFromAndroidCompileOptions=true
kotlin.stdlib.default.dependency=true
# Use K2
android.lint.useK2Uast=true
# AtomicFU IR transformations
kotlinx.atomicfu.enableJvmIrTransformation=true
kotlinx.atomicfu.enableNativeIrTransformation=true
kotlinx.atomicfu.enableJsIrTransformation=true
# Suppress Xcode compatibility check.
kotlin.apple.xcodeCompatibility.nowarn=true
# For quieter builds on non-macos platforms
kotlin.native.ignoreDisabledTargets=true
# [PROJECT OPTIONS]
MAX_DEBUG=false
COMPOSE_METRICS=true
# https://kotlinlang.org/docs/whatsnew18.html#a-new-compiler-option-for-disabling-optimizations
USE_KOTLIN_DEBUG=false
# Adds completion for locally unsupported platforms.
# Disable once required libs downloaded.
LOAD_KMM_CODE_COMPLETION=false