File size: 1,034 Bytes
ffd1e41
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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