Skip to content

Commit

Permalink
build(gradle): Use convenience syntax for setters
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed Oct 11, 2024
1 parent a4d90b9 commit bb170df
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,10 @@ tasks.withType<Detekt>().configureEach {
jvmTarget = maxKotlinJvmTarget.target

reports {
xml.required.set(false)
html.required.set(false)
txt.required.set(false)
sarif.required.set(true)
xml.required = false
html.required = false
txt.required = false
sarif.required = true
}
}

Expand All @@ -136,16 +136,16 @@ compose {
val iconsRoot = project.file("src/main/resources/app-icon")

macOS {
iconFile.set(iconsRoot.resolve("icon.icns"))
iconFile = iconsRoot.resolve("icon.icns")
jvmArgs("-Dapple.awt.application.appearance=system")
}

windows {
iconFile.set(iconsRoot.resolve("icon.ico"))
iconFile = iconsRoot.resolve("icon.ico")
}

linux {
iconFile.set(iconsRoot.resolve("icon.png"))
iconFile = iconsRoot.resolve("icon.png")
}
}
}
Expand Down

0 comments on commit bb170df

Please sign in to comment.