X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=blobdiff_plain;f=gradle.properties;h=f3216710c5cb1cbea4fb44c385d0e04828c2c588;hp=1d3591c8a4c9c29578c36c87f80c05a6aea3ee3f;hb=HEAD;hpb=8ee8e28f3ea0b1cbab0e792fb065475953bb0b55 diff --git a/gradle.properties b/gradle.properties index 1d3591c8..4c64ae1e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,18 +1,45 @@ -# Project-wide Gradle settings. +# Copyright 2019-2020,2022-2023 Soren Stoutner . +# +# This file is part of Privacy Browser Android . +# +# Privacy Browser Android is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Privacy Browser Android is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Privacy Browser Android. If not, see . -# 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 +## 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. -# Default value: -Xmx10248m -XX:MaxPermSize=256m +# Default value: -Xmx1024m -XX:MaxPermSize=256m # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 - +# # 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 \ No newline at end of file +# org.gradle.parallel=true + +# Increase the amount of memory assigned to Gradle and the Kotlin Daemon. +org.gradle.jvmargs=-Xmx2048M -Dkotlin.daemon.jvm.options\="-Xmx2048M" + +# Use AndroidX. +android.useAndroidX=true + +# Use the experimental configuration cache, which can speed up the build process if nothing in the configuration has changed. +org.gradle.unsafe.configuration-cache=true + +# Use non-transitive R classes, which speed up the build process when the configuration has not changed. +android.nonTransitiveRClass=true + +# Use non-final resource IDs for faster incremental compilation. +android.nonFinalResIds=true