6.7.0 - Alpha6 - 使用 Toolchain 替代 sourceCompatibility/targetCompatibility 以降低构建环境差异

This commit is contained in:
SuperMonster003
2025-09-24 16:47:39 +08:00
parent 4778794e0e
commit 2309377f97
18 changed files with 361 additions and 228 deletions

View File

@@ -11,6 +11,10 @@
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
#Thu Nov 11 16:38:18 CST 2021
# Configure memory settings for Gradle daemon and Kotlin daemon
# -Xms: Initial heap size
# -Xmx: Maximum heap size
# UseParallelGC: Use parallel garbage collector for better performance
org.gradle.jvmargs=-Xms4g -Xmx4g -Dkotlin.daemon.jvm.options\="-Xmx4g" -Dfile.encoding\=UTF-8 -XX:+UseParallelGC
# https://docs.gradle.org/current/userguide/gradle_daemon.html
org.gradle.daemon=true
@@ -35,7 +39,13 @@ android.enableJetifier=true
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
android.nonFinalResIds=true
# -- archived fields --
# Added since Gradle Build Tool version 8.0.0-alpha09
# Removed since Gradle Build Tool version 8.2.0-alpha15
# Configure Java installation settings
# auto-detect: Automatically detect Java installations on the system
# auto-download: Automatically download required Java version if not found
org.gradle.java.installations.auto-detect=true
org.gradle.java.installations.auto-download=true
# BuildConfig feature flag history:
# - Added in Gradle Build Tool 8.0.0-alpha09
# - Removed in Gradle Build Tool 8.2.0-alpha15
# - Controls generation of BuildConfig class
# android.defaults.buildfeatures.buildconfig=true