From a3b5e78fd3d7573f30e8e7b41321245b2a156eca Mon Sep 17 00:00:00 2001 From: skydoves Date: Mon, 2 Oct 2023 12:04:29 +0900 Subject: [PATCH] Update gradle properties' --- gradle.properties | 52 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 37 insertions(+), 15 deletions(-) diff --git a/gradle.properties b/gradle.properties index 2024bfc..cffaea9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,25 +1,47 @@ -# 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 +# +# Designed and developed by 2022 skydoves (Jaewoong Eum) +# +# 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. +# + +# https://docs.gradle.org/current/userguide/build_environment.html#sec:configuring_jvm_memory +org.gradle.jvmargs=-Xmx4g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -Dlint.nullness.ignore-deprecated=true + +# https://docs.gradle.org/current/userguide/build_cache.html +org.gradle.caching=true + # 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.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 +org.gradle.parallel=true + +# Configure only necessary projects, useful with multimodule projects +org.gradle.configureondemand=true + +# AndroidX Migration https://developer.android.com/jetpack/androidx/migrate android.useAndroidX=true -# Kotlin code style for this project: "official" or "obsolete": -kotlin.code.style=official + +# Removes uneccessary default build features +android.defaults.buildfeatures.aidl=false +android.defaults.buildfeatures.buildconfig=false +android.defaults.buildfeatures.renderscript=false +android.defaults.buildfeatures.resvalues=false +android.defaults.buildfeatures.shaders=false + # 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 +# https://developer.android.com/studio/releases/gradle-plugin#4.1-nontransitive-r-class android.nonTransitiveRClass=true android.suppressUnsupportedCompileSdk=34