X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=blobdiff_plain;f=gradle.properties;h=e631854fc4353a20b07d635a06cb0988177e0d80;hp=0d04ee74441d4485dc270f25cd32d1e24101c2c1;hb=32847917d4847968feaff721118cdd8bbc12661d;hpb=ba40295dffd761ccdc95d3b46ca7acbad1f00d5e diff --git a/gradle.properties b/gradle.properties index 0d04ee74..e631854f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -# Copyright © 2019 Soren Stoutner . +# Copyright © 2019-2020 Soren Stoutner . # # This file is part of Privacy Browser . # @@ -15,30 +15,24 @@ # You should have received a copy of the GNU General Public License # along with Privacy Browser. If not, see . - - -# 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 +## 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=-Xmx1536m - +# 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 -# 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 +# 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 -# Automatically convert third-party libraries to use AndroidX. This is necessary for Firebase Ads in the free flavor. -android.enableJetifier=true \ No newline at end of file +# Automatically convert third-party libraries to use AndroidX. This is necessary for AdMob Ads in the free flavor. +android.enableJetifier=true