Skip to content

Commit

Permalink
chore: gradle 옵션 조정
Browse files Browse the repository at this point in the history
- Improve build speed a bit
- Apply new resources shrink
  • Loading branch information
jisungbin committed Oct 2, 2022
1 parent 027ef38 commit 99b3b31
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,24 @@ org.gradle.jvmargs=-Xmx2048m
org.gradle.configureondemand=true
org.gradle.parallel=true
org.gradle.caching=true

# https://blog.gradle.org/introducing-file-system-watching
org.gradle.vfs.watch=true

android.useAndroidX=true
android.enableJetifier=true
android.enableResourceOptimizations=true
android.jetifier.ignorelist=lint*,common
android.nonTransitiveRClass=true

kotlin.code.style=official
kapt.incremental.apt=true

# Disable buildFeatures flags by default
android.defaults.buildfeatures.aidl=false
android.defaults.buildfeatures.renderscript=false
android.defaults.buildfeatures.resvalues=false
android.defaults.buildfeatures.shaders=false

# https://developer.android.com/studio/releases/gradle-plugin#experimental_further_app_size_reductions
android.experimental.enableNewResourceShrinker.preciseShrinking=true

0 comments on commit 99b3b31

Please sign in to comment.