|
1 |
| -# Project-wide Gradle settings. |
2 |
| -# IDE (e.g. Android Studio) users: |
3 |
| -# Gradle settings configured through the IDE *will override* |
4 |
| -# any settings specified in this file. |
5 |
| -# For more details on how to configure your build environment visit |
6 |
| -# http://www.gradle.org/docs/current/userguide/build_environment.html |
7 |
| -# Specifies the JVM arguments used for the daemon process. |
8 |
| -# The setting is particularly useful for tweaking memory settings. |
9 |
| -org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 |
| 1 | +# |
| 2 | +# Designed and developed by 2023 skydoves (Jaewoong Eum) |
| 3 | +# |
| 4 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | +# you may not use this file except in compliance with the License. |
| 6 | +# You may obtain a copy of the License at |
| 7 | +# |
| 8 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +# |
| 10 | +# Unless required by applicable law or agreed to in writing, software |
| 11 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | +# See the License for the specific language governing permissions and |
| 14 | +# limitations under the License. |
| 15 | +# |
| 16 | + |
| 17 | +# https://docs.gradle.org/current/userguide/build_environment.html#sec:configuring_jvm_memory |
| 18 | +org.gradle.jvmargs=-Xmx4g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -Dlint.nullness.ignore-deprecated=true |
| 19 | + |
| 20 | +# https://docs.gradle.org/current/userguide/build_cache.html |
| 21 | +org.gradle.caching=true |
| 22 | + |
10 | 23 | # When configured, Gradle will run in incubating parallel mode.
|
11 | 24 | # This option should only be used with decoupled projects. More details, visit
|
12 | 25 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
13 |
| -# org.gradle.parallel=true |
14 |
| -# AndroidX package structure to make it clearer which packages are bundled with the |
15 |
| -# Android operating system, and which are packaged with your app's APK |
16 |
| -# https://developer.android.com/topic/libraries/support-library/androidx-rn |
| 26 | +org.gradle.parallel=true |
| 27 | + |
| 28 | +# Configure only necessary projects, useful with multimodule projects |
| 29 | +org.gradle.configureondemand=true |
| 30 | + |
| 31 | +# AndroidX Migration https://developer.android.com/jetpack/androidx/migrate |
17 | 32 | android.useAndroidX=true
|
18 |
| -# Kotlin code style for this project: "official" or "obsolete": |
19 |
| -kotlin.code.style=official |
| 33 | + |
| 34 | +# Removes uneccessary default build features |
| 35 | +android.defaults.buildfeatures.aidl=false |
| 36 | +android.defaults.buildfeatures.buildconfig=false |
| 37 | +android.defaults.buildfeatures.renderscript=false |
| 38 | +android.defaults.buildfeatures.resvalues=false |
| 39 | +android.defaults.buildfeatures.shaders=false |
| 40 | + |
20 | 41 | # Enables namespacing of each library's R class so that its R class includes only the
|
21 | 42 | # resources declared in the library itself and none from the library's dependencies,
|
22 | 43 | # thereby reducing the size of the R class for that library
|
| 44 | +# https://developer.android.com/studio/releases/gradle-plugin#4.1-nontransitive-r-class |
23 | 45 | android.nonTransitiveRClass=true
|
24 |
| -android.suppressUnsupportedCompileSdk=34 |
25 | 46 |
|
26 | 47 | # Required to publish to Nexus (see https://github.com/gradle/gradle/issues/11308)
|
27 | 48 | systemProp.org.gradle.internal.publish.checksums.insecure=true
|
|
0 commit comments