Spaces:
Build error
Build error
# Gradle Performance Configuration for DALab Microservices | |
# Multi-threading and parallel execution settings | |
# Enable parallel execution of tasks across projects | |
org.gradle.parallel=true | |
# Set number of parallel workers (4 parallel executors as requested) | |
org.gradle.workers.max=4 | |
# Enable configuration caching to speed up subsequent builds | |
org.gradle.configuration-cache=true | |
# Enable build caching for faster incremental builds | |
org.gradle.caching=true | |
# Increase JVM heap size for Gradle daemon (adjust based on system memory) | |
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=512m -XX:+UseG1GC | |
# Enable Gradle daemon for faster builds | |
org.gradle.daemon=true | |
# Configure file watching for continuous builds | |
org.gradle.vfs.watch=true | |
# Optimize Kotlin compilation (for da-policyengine) | |
kotlin.incremental=true | |
kotlin.parallel.tasks.in.project=true | |
# Spring Boot specific optimizations | |
spring.output.ansi.enabled=always | |
# Build scan acceptance for performance insights (optional) | |
# gradle.build-scan.upload-in-background=true |