Add nativeDistributions config for exe build
This commit is contained in:
@@ -15,5 +15,12 @@ dependencies {
|
||||
compose.desktop {
|
||||
application {
|
||||
mainClass = "com.example.kotlindemo.MainKt"
|
||||
|
||||
nativeDistributions {
|
||||
targetFormats(
|
||||
org.jetbrains.compose.desktop.application.dsl.TargetFormat.Msi,
|
||||
org.jetbrains.compose.desktop.application.dsl.TargetFormat.Nsis
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user