From 03f6c03bca38d4fea80a3bbcd7b6f207e71129bf Mon Sep 17 00:00:00 2001 From: Maxim Pestryakov <17238054+MaximPestryakov@users.noreply.github.com> Date: Thu, 11 Jul 2024 14:21:49 +0300 Subject: [PATCH] Use val instead of var for RegularFileProperty --- .../compose/desktop/application/dsl/PlatformSettings.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/desktop/application/dsl/PlatformSettings.kt b/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/desktop/application/dsl/PlatformSettings.kt index d70ca65adf..dd05d50124 100644 --- a/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/desktop/application/dsl/PlatformSettings.kt +++ b/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/desktop/application/dsl/PlatformSettings.kt @@ -65,8 +65,8 @@ abstract class JvmMacOSPlatformSettings : AbstractMacOSPlatformSettings() { var dockName: String? = null var setDockNameSameAsPackageName: Boolean = true var appStore: Boolean = false - var entitlementsFile: RegularFileProperty = objects.fileProperty() - var runtimeEntitlementsFile: RegularFileProperty = objects.fileProperty() + val entitlementsFile: RegularFileProperty = objects.fileProperty() + val runtimeEntitlementsFile: RegularFileProperty = objects.fileProperty() var pkgPackageVersion: String? = null var pkgPackageBuildVersion: String? = null