From bb170df1ddb1cfdc9a40ba9f52cb0ec792302219 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Thu, 10 Oct 2024 12:20:33 +0200 Subject: [PATCH] build(gradle): Use convenience syntax for setters Signed-off-by: Sebastian Schuberth --- build.gradle.kts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 84bea6a..c843333 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -112,10 +112,10 @@ tasks.withType().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 } } @@ -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") } } }