Hello, I have Compose Desktop app and function ```...
# compose-desktop
l
Hello, I have Compose Desktop app and function
Copy code
System.getProperty("compose.application.resources.dir")
that returns null. import org.jetbrains.compose.desktop.application.dsl.TargetFormat plugins { id("org.jetbrains.compose") _kotlin_("multiplatform") _kotlin_("plugin.serialization") } kotlin { jvm() sourceSets { jvmMain { dependencies { implementation(compose.desktop.currentOs) implementation(compose.desktop.common) } } } } compose.desktop { application { mainClass = "MainKt" javaHome = "/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home" nativeDistributions { appResourcesRootDir.set(project.layout.projectDirectory.dir("resources")) targetFormats( TargetFormat.Dmg, TargetFormat.Pkg, TargetFormat.Exe, TargetFormat.Msi ) } } } Do you know where is a problem?
z
Please keep larger code snippets to the thread to keep the main channel view more readable, thanks!