|
|
@ -122,7 +122,7 @@ compose.desktop { |
|
|
|
packageName = "ExampleApp" |
|
|
|
packageName = "ExampleApp" |
|
|
|
version = "0.1-SNAPSHOT" |
|
|
|
version = "0.1-SNAPSHOT" |
|
|
|
description = "Compose Example App" |
|
|
|
description = "Compose Example App" |
|
|
|
copyright = project.file("LICENSE.txt").readText() |
|
|
|
copyright = "© 2020 My Name. All rights reserved." |
|
|
|
vendor = "Example vendor" |
|
|
|
vendor = "Example vendor" |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -197,15 +197,17 @@ The app icon needs to be provided in OS-specific formats: |
|
|
|
```kotlin |
|
|
|
```kotlin |
|
|
|
compose.desktop { |
|
|
|
compose.desktop { |
|
|
|
application { |
|
|
|
application { |
|
|
|
macOS { |
|
|
|
nativeDistributions { |
|
|
|
iconFile.set(project.file("icon.icns")) |
|
|
|
macOS { |
|
|
|
} |
|
|
|
iconFile.set(project.file("icon.icns")) |
|
|
|
windows { |
|
|
|
} |
|
|
|
iconFile.set(project.file("icon.ico")) |
|
|
|
windows { |
|
|
|
} |
|
|
|
iconFile.set(project.file("icon.ico")) |
|
|
|
linux { |
|
|
|
} |
|
|
|
iconFile.set(project.file("icon.png")) |
|
|
|
linux { |
|
|
|
|
|
|
|
iconFile.set(project.file("icon.png")) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
``` |
|
|
|
``` |
|
|
|