mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-02-14 17:53:03 -05:00
60 lines
1.8 KiB
Properties
60 lines
1.8 KiB
Properties
#
|
|
# Copyright (c) 2025 Meshtastic LLC
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
#
|
|
|
|
# Project-wide Gradle settings.
|
|
org.gradle.jvmargs=-Xmx8g -XX:+UseParallelGC -XX:MaxMetaspaceSize=2g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
|
|
|
|
# Parallelism & Caching
|
|
org.gradle.parallel=true
|
|
org.gradle.caching=true
|
|
org.gradle.configuration-cache=true
|
|
org.gradle.isolated-projects=true
|
|
org.gradle.vfs.watch=true
|
|
org.gradle.configureondemand=false
|
|
|
|
# Kotlin Optimization
|
|
# Parallelize Kotlin tasks within a single project (great for KMP)
|
|
kotlin.parallel.tasks.in.project=true
|
|
# Give Kotlin daemon enough breathing room
|
|
kotlin.daemon.jvm.options=-Xmx4g -XX:+UseParallelGC
|
|
kotlin.code.style=official
|
|
|
|
# Android (AGP) Optimization
|
|
android.useAndroidX=true
|
|
android.enableJetifier=false
|
|
android.nonTransitiveRClass=true
|
|
# More aggressive R8 optimizations
|
|
android.enableR8.fullMode=true
|
|
# Parallel lint analysis
|
|
android.experimental.lint.analysisPerComponent=true
|
|
|
|
# KSP 2 Configuration
|
|
ksp.useKSP2=true
|
|
ksp.run.in.process=true
|
|
ksp.incremental=true
|
|
ksp.incremental.classpath=true
|
|
ksp.incremental.intermodule=true
|
|
|
|
# UI & Analysis
|
|
dependency.analysis.print.build.health=true
|
|
enableComposeCompilerMetrics=false
|
|
enableComposeCompilerReports=false
|
|
|
|
# Housekeeping
|
|
org.gradle.welcome=never
|
|
android.newDsl=false
|