Skip to content

Commit

Permalink
Исправление обращения к buildDirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
nixel2007 committed Nov 10, 2024
1 parent eaa6a4e commit 47ae06a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ tasks.check {
tasks.jacocoTestReport {
reports {
xml.required.set(true)
xml.outputLocation.set(File("${layout.buildDirectory}/reports/jacoco/test/jacoco.xml"))
xml.outputLocation.set(File("${layout.buildDirectory.get()}/reports/jacoco/test/jacoco.xml"))
}
}

Expand All @@ -238,12 +238,12 @@ tasks.generateDiagnosticDocs {
doLast {
val resourcePath = tasks["processResources"].outputs.files.singleFile
copy {
from("${layout.buildDirectory}/docs/diagnostics")
from("${layout.buildDirectory.get()}/docs/diagnostics")
into("$resourcePath/com/github/_1c_syntax/bsl/languageserver/diagnostics/ru")
}

copy {
from("${layout.buildDirectory}/docs/en/diagnostics")
from("${layout.buildDirectory.get()}/docs/en/diagnostics")
into("$resourcePath/com/github/_1c_syntax/bsl/languageserver/diagnostics/en")
}
}
Expand Down Expand Up @@ -285,7 +285,7 @@ sonarqube {
property("sonar.projectKey", "1c-syntax_bsl-language-server")
property("sonar.projectName", "BSL Language Server")
property("sonar.exclusions", "**/gen/**/*.*")
property("sonar.coverage.jacoco.xmlReportPaths", "${layout.buildDirectory}/reports/jacoco/test/jacoco.xml")
property("sonar.coverage.jacoco.xmlReportPaths", "${layout.buildDirectory.get()}/reports/jacoco/test/jacoco.xml")
}
}

Expand Down

0 comments on commit 47ae06a

Please sign in to comment.