Skip to content

Commit

Permalink
Fix deprecated Gradle features (#825)
Browse files Browse the repository at this point in the history
  • Loading branch information
fwendland authored Mar 6, 2024
1 parent 5c727c2 commit f04dcc3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ val projectProps by tasks.registering(WriteProperties::class) {
description = "Write project properties in a file."

// Set output file to build/project.properties
outputFile = file("$buildDir/codyze.properties")
destinationFile = layout.buildDirectory.file("codyze.properties")
// Default encoding is ISO-8559-1, here we change it.
encoding = "UTF-8"
// Optionally we can specify the header comment.
Expand All @@ -62,7 +62,7 @@ val projectProps by tasks.registering(WriteProperties::class) {
}
}

// configure detekt to combine the results of all submodules into a single sarif file -> for github code scanning
// configure detekt to combine the results of all submodules into a single sarif file -> for GitHub code scanning
val detektReportMergeSarif by tasks.registering(ReportMergeTask::class) {
output.set(rootProject.layout.buildDirectory.file("reports/detekt/detekt.sarif"))
}
Expand Down
1 change: 1 addition & 0 deletions buildSrc/src/main/kotlin/module.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ dependencies {
// Unit tests
testImplementation(kotlin("test"))
testImplementation(libs.junit.params)
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

repositories {
Expand Down

0 comments on commit f04dcc3

Please sign in to comment.