Skip to content

Commit f68bce0

Browse files
MaximPestryakovterrakok
authored andcommitted
Add test
1 parent 3cab163 commit f68bce0

File tree

5 files changed

+39
-0
lines changed

5 files changed

+39
-0
lines changed

gradle-plugins/compose/src/test/test-projects/application/jvmKotlinDsl/build.gradle.kts

+15
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,21 @@ compose.desktop {
1919
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
2020

2121
packageVersion = "1.0.0"
22+
23+
val resourcesRoot = project.layout.projectDirectory.dir("resources")
24+
macOS {
25+
iconFile = resourcesRoot.file("icons/macos.icns")
26+
entitlementsFile = resourcesRoot.file("entitlements.plist")
27+
runtimeEntitlementsFile = resourcesRoot.file("entitlements.plist")
28+
}
29+
30+
windows {
31+
iconFile = resourcesRoot.file("icons/windows.ico")
32+
}
33+
34+
linux {
35+
iconFile = resourcesRoot.file("icons/linux.png")
36+
}
2237
}
2338
}
2439
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>com.apple.security.app-sandbox</key>
6+
<true/>
7+
<key>com.apple.security.cs.allow-jit</key>
8+
<true/>
9+
<key>com.apple.security.cs.disable-library-validation</key>
10+
<true/>
11+
<key>com.apple.security.network.client</key>
12+
<true/>
13+
<key>com.apple.security.assets.movies.read-only</key>
14+
<true/>
15+
<key>com.apple.security.assets.music.read-only</key>
16+
<true/>
17+
<key>com.apple.security.assets.pictures.read-only</key>
18+
<true/>
19+
<key>com.apple.security.files.downloads.read-only</key>
20+
<true/>
21+
<key>com.apple.security.files.user-selected.read-only</key>
22+
<true/>
23+
</dict>
24+
</plist>

0 commit comments

Comments
 (0)