Files
lime/templates/android/template/gradle.properties
Giuppe e439f0d0ae Allow setting Gradle properties in project.xml (#1859)
* allow setting gradle jvmargs in project.xml

* Make gradle.properties fully configurable from project.xml.

---------

Co-authored-by: Joseph Cloutier <player3.14@gmail.com>
2025-08-31 15:05:03 -04:00

34 lines
1.4 KiB
Properties

# Project-wide Gradle settings.
# 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
# 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
VERSION_NAME=::META_VERSION::
VERSION_CODE=::META_BUILD_NUMBER::
ANDROID_BUILD_TARGET_SDK_VERSION=::ANDROID_TARGET_SDK_VERSION::
ANDROID_BUILD_MIN_SDK_VERSION=::ANDROID_MINIMUM_SDK_VERSION::
ANDROID_BUILD_SDK_VERSION=::ANDROID_TARGET_SDK_VERSION::
ANDROID_BUILD_TOOLS_VERSION=::ANDROID_BUILD_TOOLS_VERSION::
::if (ANDROID_TARGET_SDK_VERSION>=28)::
android.useAndroidX=::ANDROID_USE_ANDROIDX::
android.enableJetifier=::ANDROID_ENABLE_JETIFIER::
::end::
::if KEY_STORE::
KEY_STORE=::KEY_STORE::
KEY_STORE_PASSWORD=::KEY_STORE_PASSWORD::
KEY_STORE_ALIAS=::KEY_STORE_ALIAS::
KEY_STORE_ALIAS_PASSWORD=::KEY_STORE_ALIAS_PASSWORD::
::end::
::foreach ANDROID_GRADLE_PROPERTIES::::if ((value != null) && (value != ""))::::key::=::value::
::end::::end::