diff --git a/build.gradle.kts b/build.gradle.kts index 83cc1752e5..baace361f8 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,7 +1,3 @@ -import org.jetbrains.dokka.gradle.DokkaMultiModuleTask -import java.io.BufferedOutputStream -import java.io.ByteArrayOutputStream - /* * Copyright (c) 2019-2021, Fraunhofer AISEC. All rights reserved. * @@ -76,7 +72,7 @@ fun generateDokkaWithVersionTag(dokkaMultiModuleTask: org.jetbrains.dokka.gradle val config = """{ "version": "$tag", "olderVersionsDir":"${oldOutputPath.path}" }""" val mapOf = mapOf(id to config) - dokkaMultiModuleTask.outputDirectory.set(file(buildDir.resolve("dokkaCustomMultiModuleOutput").resolve(tag))) + dokkaMultiModuleTask.outputDirectory.set(file(layout.buildDirectory.asFile.get().resolve("dokkaCustomMultiModuleOutput").resolve(tag))) dokkaMultiModuleTask.pluginsMapConfiguration.set(mapOf) } diff --git a/gradle.properties.example b/gradle.properties.example index b9daa60f60..f227448a38 100644 --- a/gradle.properties.example +++ b/gradle.properties.example @@ -1,4 +1,5 @@ org.gradle.jvmargs=-Xmx4096m -XX:MaxMetaspaceSize=1024m -Dkotlin.daemon.jvm.options=-Xmx4g +systemProp.sonar.gradle.skipCompile=true enableJavaFrontend=true enableCXXFrontend=true diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index c700c24310..eebcfa40c8 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -2,7 +2,7 @@ kotlin = "1.9.0" neo4j = "4.0.6" log4j = "2.21.0" -sonarqube = "4.4.0.3356" +sonarqube = "4.4.1.3373" spotless = "6.22.0" nexus-publish = "1.3.0"