summaryrefslogtreecommitdiff
path: root/desktop/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/build.gradle.kts')
-rw-r--r--desktop/build.gradle.kts10
1 files changed, 9 insertions, 1 deletions
diff --git a/desktop/build.gradle.kts b/desktop/build.gradle.kts
index 44a8554..2705014 100644
--- a/desktop/build.gradle.kts
+++ b/desktop/build.gradle.kts
@@ -21,7 +21,15 @@ compose.desktop {
nativeDistributions {
// From `./gradlew :desktop:suggestRuntimeModules`; jdk.security.auth is needed by dbus-java (Bluetooth).
modules("java.instrument", "java.net.http", "jdk.security.auth", "jdk.unsupported")
- targetFormats(TargetFormat.AppImage, TargetFormat.Deb)
+ targetFormats(TargetFormat.AppImage, TargetFormat.Deb, TargetFormat.Dmg)
+ macOS {
+ infoPlist {
+ extraKeysRawXml = """
+ <key>NSBluetoothAlwaysUsageDescription</key><string>Connects to your smart cube.</string>
+ <key>NSMicrophoneUsageDescription</key><string>Listens to a stackmat timer on an audio input.</string>
+ """
+ }
+ }
packageName = "rookery"
packageVersion = "0.1.0"
}