Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce0203 committed Aug 7, 2023
1 parent 069ebb4 commit 7ebc778
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 16 deletions.
3 changes: 3 additions & 0 deletions client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ korge {
targetDesktopCross()
targetDesktop()
entryPoint = "runMain"
orientation = Orientation.DEFAULT
icon = File(projectDir, "src/commonMain/resources/images/logo.png"
.replace("/", File.separator))
}

kotlin {
Expand Down
33 changes: 17 additions & 16 deletions shared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,25 +51,26 @@ kotlin {
api(libs.logback)
}
}
val mingwX64Main by getting {
dependencies {
api(libs.ktor.client.winhttp)
api(libs.logback)
runCatching {
val mingwX64Main by getting {
dependencies {
api(libs.ktor.client.winhttp)
api(libs.logback)
}
}
}
val macosArm64Main by getting {
dependencies {
api(libs.ktor.client.cio)
api(libs.logback)
val macosArm64Main by getting {
dependencies {
api(libs.ktor.client.cio)
api(libs.logback)
}
}
}
val macosX64Main by getting {
dependencies {
api(libs.ktor.client.cio)
api(libs.logback)
val macosX64Main by getting {
dependencies {
api(libs.ktor.client.cio)
api(libs.logback)
}
}
}
}
} }
}

fun Configuration.exclude(provider: Provider<MinimalExternalModuleDependency>) {
Expand Down

0 comments on commit 7ebc778

Please sign in to comment.