|
|
@ -13,18 +13,55 @@ kotlin { |
|
|
|
binaries.executable() |
|
|
|
binaries.executable() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
sourceSets { |
|
|
|
/* |
|
|
|
named("desktopMain") { |
|
|
|
iosX64("uikitX64") { |
|
|
|
dependencies { |
|
|
|
binaries { |
|
|
|
implementation(compose.desktop.currentOs) |
|
|
|
executable { |
|
|
|
|
|
|
|
entryPoint = "main" |
|
|
|
|
|
|
|
freeCompilerArgs += listOf( |
|
|
|
|
|
|
|
"-linker-option", "-framework", "-linker-option", "Metal", |
|
|
|
|
|
|
|
"-linker-option", "-framework", "-linker-option", "CoreText", |
|
|
|
|
|
|
|
"-linker-option", "-framework", "-linker-option", "CoreGraphics" |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
iosArm64("uikitArm64") { |
|
|
|
|
|
|
|
binaries { |
|
|
|
|
|
|
|
executable { |
|
|
|
|
|
|
|
entryPoint = "main" |
|
|
|
|
|
|
|
freeCompilerArgs += listOf( |
|
|
|
|
|
|
|
"-linker-option", "-framework", "-linker-option", "Metal", |
|
|
|
|
|
|
|
"-linker-option", "-framework", "-linker-option", "CoreText", |
|
|
|
|
|
|
|
"-linker-option", "-framework", "-linker-option", "CoreGraphics" |
|
|
|
|
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
named("commonMain") { |
|
|
|
} */ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sourceSets { |
|
|
|
|
|
|
|
val desktopMain by getting |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
val commonMain by getting { |
|
|
|
dependencies { |
|
|
|
dependencies { |
|
|
|
implementation(project(":Kapp:library")) |
|
|
|
implementation(project(":Kapp:library")) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
val jsMain by getting |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* |
|
|
|
|
|
|
|
val uikitMain by creating { |
|
|
|
|
|
|
|
dependsOn(commonMain) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
val uikitX64Main by getting { |
|
|
|
|
|
|
|
dependsOn(uikitMain) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
val uikitArm64Main by getting { |
|
|
|
|
|
|
|
dependsOn(uikitMain) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
*/ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -35,9 +72,8 @@ compose.desktop { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
compose.experimental { |
|
|
|
compose.experimental { |
|
|
|
web.application { |
|
|
|
web.application |
|
|
|
} |
|
|
|
uikit.application |
|
|
|
// uikit.application {} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
tasks.withType<KotlinCompile>().configureEach { |
|
|
|
tasks.withType<KotlinCompile>().configureEach { |
|
|
|