Repository navigation
Expand file tree
/
Copy pathgradle.properties
More file actions
38 lines (38 loc) · 2.29 KB
/
Copy pathgradle.properties
File metadata and controls
38 lines (38 loc) · 2.29 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
# 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=-Xmx2048m -Dfile.encoding=UTF-8
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. For more details, visit
# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects
# org.gradle.parallel=true
# 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
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
# Enables 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 reducing the size of the R class for that library
android.nonTransitiveRClass=true
org.gradle.configuration-cache=true
org.gradle.parallel=true
# Gradle 9.4+ 의 IDE sync 모델 병렬 fetch 스위치. Gradle 기본값은 위 org.gradle.parallel 을
# 승계하지만 Studio 는 이를 승계하지 않아, 명시하지 않으면 sync 가 직렬로 돌아 느려진다.
# https://developer.android.com/studio/known-issues
org.gradle.tooling.parallel=true
# Studio/JDK 업데이트나 빌드 중 OOM 등으로 input 해시는 같지만 산출물이 손상된 cache
# 엔트리가 hit되는 사례가 있어 비활성화. UP-TO-DATE 체크와 kotlin.incremental은
# 그대로라 일반 증분 빌드 속도는 동일하다.
org.gradle.caching=false
kotlin.incremental=true
# Compose Preview Screenshot Testing (#241) — alpha 단계라 experimental flag 필요
android.experimental.enableScreenshotTest=true
# minSdk 26 경계 smoke를 Gradle Managed Device로 실행하기 위한 AGP 공식 opt-in.
android.experimental.testOptions.managedDevices.allowOldApiLevelDevices=true