This repository has been archived on 2024-04-18. You can view files and clone it, but cannot push or open issues or pull requests.
SuperTra/gradle.properties
小草林(田梓萱) 192037f48a
feat: init
Signed-off-by: 小草林(田梓萱) <xcl@xuegao-tzx.top>
2024-02-05 21:09:07 +08:00

82 lines
3.4 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=-Xmx10g -Xss1024k -XX:ParallelGCThreads=8 -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=5g -Dkotlin.daemon.jvm.options\="-Xmx10g"
org.gradle.parallel=true
org.gradle.configureondemand=true
org.gradle.caching=true
systemProp.https.protocols=TLSv1.3,TLSv1.2,TLSv1.1
systemProp.jdk.tls.client.protocols=TLSv1.3,TLSv1.2,TLSv1.1
#org.gradle.unsafe.configuration-cache=true
# Use this flag carefully, in case some of the plugins are not fully compatible.
#org.gradle.unsafe.configuration-cache-problems=warn
# 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
android.enableJetifier=false
android.nonTransitiveRClass=true
android.suppressUnsupportedCompileSdk=UpsideDownCake
android.debug.obsoleteApi=false
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
kotlin.build.report.output=file
vcsInfo.include=true
# android.enableVcsInfo=true
# Enables namespacing of each library's R class so that its R class includes only the
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
# Enable R8 full mode.
android.enableR8.fullMode=true
# Only for Debug
android.injected.testOnly=false
#kotlin incremental
kotlin.incremental=true
kotlin.incremental.java=true
kotlin.caching.enabled=true
#kotlin parallel
kotlin.parallel.tasks.in.project=true
kotlin.native.binary.memoryModel=experimental
kotlin.native.binary.freezing=disabled
#kapt
# Decrease gradle builds time
kapt.use.worker.api=true
#incremental
kapt.incremental.apt=true
#kapt avoiding
kapt.include.compile.classpath=false
kapt.verbose=false
kapt.use.k2=false
ksp.useKSP2=false
#MPP
kotlin.mpp.enableCInteropCommonization=true
kotlin.mpp.androidSourceSetLayoutVersion=2
firebasePerformanceInstrumentationEnabled=true
# update: ./gradlew wrapper --gradle-version=8.3
dependencyUpdates.gradleReleaseChannel="nightly"
nl.littlerobots.vcu.resolver=true
android.defaults.buildfeatures.compose=true
android.defaults.buildfeatures.viewBinding=true
android.packagingOptions.jniLibs.useLegacyPackaging=true
android.precompileDependenciesResources=false
# Use latest lint alpha for best available K2 support
# https://googlesamples.github.io/android-custom-lint-rules/usage/newer-lint.md.html
android.experimental.lint.version=8.3.0-beta02
# Use K2 compiler
kotlin.experimental.tryK2=true
# Run lint on K2
android.lint.useK2Uast=true
# buildId
buildId=10786750
#booster
booster.transform.activity.thread.packages.ignore=com.didiglobal.booster,io.johnsonlee.booster