27 lines
1.3 KiB
Properties
27 lines
1.3 KiB
Properties
# 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=-Xmx1536m
|
||
|
||
# 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
|
||
android.useAndroidX=true
|
||
|
||
# Capacitor 8 需要 JDK 21。Gradle 守护进程有时不会继承 ~/.zshrc 里的 JAVA_HOME,仍会用到系统默认 JDK 17,从而报「无效的源发行版:21」。
|
||
# 下面固定使用本机 JDK 21;换电脑或升级 JDK 时请改路径,或删除本行并确保环境变量生效。
|
||
# org.gradle.java.home=/Users/wedo/.jdks/jdk-21.0.10+7/Contents/Home
|