fixing Gradle Probleme

This commit is contained in:
2025-10-09 13:11:31 +02:00
parent 1096f9e9e6
commit dbc17b9233
9 changed files with 80 additions and 77 deletions
+4 -1
View File
@@ -38,7 +38,7 @@ allprojects {
subprojects {
// Note: Kotlin compiler configuration is handled by individual modules
// Root project doesn't apply Kotlin plugins, so we can't configure KotlinCompile tasks here
// a Root project doesn't apply Kotlin plugins, so we can't configure KotlinCompile tasks here
tasks.withType<Test>().configureEach {
useJUnitPlatform {
@@ -47,7 +47,10 @@ subprojects {
// Configure CDS in auto-mode to prevent bootstrap classpath warnings
jvmArgs("-Xshare:auto", "-Djdk.instrument.traceUsage=false")
// Increase test JVM memory with a stable configuration
minHeapSize = "512m"
maxHeapSize = "2g"
// Parallel test execution for better performance
maxParallelForks = (Runtime.getRuntime().availableProcessors() / 2).coerceAtLeast(1)
// Removed byte-buddy-agent configuration to fix Gradle 9.0.0 deprecation warning
// The agent configuration was causing Task.project access at execution time
}