-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgradle.properties
134 lines (98 loc) · 4.72 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
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will 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
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx2g -XX:+UseParallelGC
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
org.gradle.caching=true
org.gradle.parallel=true
org.gradle.configuration-cache=true
org.gradle.configuration-cache.problems=warn
# https://developer.android.com/studio/test/gradle-managed-devices#create_a_gradle_managed_device
android.testoptions.manageddevices.emulator.gpu=swiftshader_indirect
# AndroidX package structure to make it clearer which packages are bundled with the
# Android operating system, and which are packaged with your app's APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=false
# Default Build Features configuration
android.defaults.buildfeatures.aidl=false
android.defaults.buildfeatures.buildconfig=false
android.defaults.buildfeatures.renderscript=false
android.defaults.buildfeatures.resvalues=true
android.defaults.buildfeatures.shaders=false
android.defaults.buildfeatures.databinding=false
android.defaults.buildfeatures.viewbinding=false
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
# https://kotlinlang.org/docs/reference/kapt.html#compile-avoidance-for-kapt-since-1320
kapt.include.compile.classpath=false
# https://blog.jetbrains.com/kotlin/2022/07/a-new-approach-to-incremental-compilation-in-kotlin/#how-to
kotlin.incremental.useClasspathSnapshot=true
###################################
## Application specific settings ##
targetSdk=34
compileSdk=35
compileSdkExtension=
minSdk=28
build.androidtest.sdk=35
# compileSdkPreview must be a platform preview name (e.g. "T" or "U")
compileSdkPreview=
buildToolsVersion=35.0.0
# https://androidx.dev/snapshots/builds
androidXSnapshotBuildId=11575487
# https://androidx.dev/studio/builds
studioSnapshotBuildId=11576317
# https://r8.googlesource.com/r8/+log/refs/heads/8.7
r8Version=8.7.20
# https://developer.android.com/studio/releases
androidGradlePluginVersion=8.7.2
# https://kotlinlang.org/docs/releases.html#release-details
kotlinVersion=2.0.21
# https://github.com/google/ksp/releases
# The actual version string is assembled in gradle/versions_catalog.gradle.
# ${kotlinVersion}-${kspVersion}
kspVersion=1.0.27
# https://plugins.gradle.org/plugin/com.gradle.enterprise
gradleEnterprisePluginVersion=3.16.2
# https://github.com/gradle/android-cache-fix-gradle-plugin/releases
androidCacheFixVersion=3.0.1
NDK_VERSION=26.2.11394342
build.check.requires=true
build.timeout.kotlinCompile=15
build.timeout.unittest=20
# https://docs.gradle.org/current/dsl/org.gradle.api.tasks.testing.Test.html#org.gradle.api.tasks.testing.Test:maxParallelForks
line.unittest.maxforks=0
# https://docs.gradle.org/current/dsl/org.gradle.api.tasks.testing.Test.html#org.gradle.api.tasks.testing.Test:jvmArgs
# -Xss2m :
# Our unittests need more stack size. Default stack size of JVM is 1m.
# Other jvm options will be added at build-logic/convention/src/main/kotlin/com/myapplication/android/builder/UnitTest.kt
build.unittest.jvmargs=-Xss2m
# https://docs.gradle.org/current/dsl/org.gradle.api.tasks.testing.Test.html#org.gradle.api.tasks.testing.Test:forkEvery
build.unittest.forkevery=8
# https://docs.gradle.org/current/dsl/org.gradle.api.tasks.testing.Test.html#org.gradle.api.tasks.testing.Test:minHeapSize
build.unittest.heapsize.min=1g
# https://docs.gradle.org/current/dsl/org.gradle.api.tasks.testing.Test.html#org.gradle.api.tasks.testing.Test:maxHeapSize
build.unittest.heapsize.max=6g
# Print unittest log on console or Not
#build.unittest.logging=false
build.unittest.retry.max=3
build.unittest.retry.maxfailures=12
build.unittest.retry.treatasfail=false
build.jvmtarget.host=21
build.jvmtarget.intermediates=11
build.baselineprofile.generate.enable=true
build.dexlayout.optimize.enable=false
build.l8.enable=false
# available values are small, medium and large
build.unittest.testRunnerArguments.size=
# https://developer.android.com/training/testing/instrumented-tests/androidx-test-libraries/runner?hl=en#filter-tests
# available values are small, medium and large
android.testInstrumentationRunnerArguments.size=