-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
207c6d9
commit bfddb1c
Showing
9 changed files
with
131 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,56 @@ | ||
import org.jetbrains.compose.desktop.application.dsl.TargetFormat | ||
|
||
plugins { | ||
// alias(libs.plugins.kotlin.multiplatform) | ||
kotlin("jvm") | ||
kotlin("multiplatform") | ||
alias(libs.plugins.compose.compiler) | ||
alias(libs.plugins.jetbrains.compose) | ||
alias(libs.plugins.dependency.guard) | ||
application | ||
} | ||
|
||
dependencies { | ||
implementation(compose.desktop.currentOs) | ||
implementation(project(":compose-ui")) | ||
implementation(project(":mock-data")) | ||
implementation(project(":models")) | ||
implementation(project(":networking")) | ||
implementation(project(":shopping-cart")) | ||
} | ||
|
||
dependencyGuard { | ||
configuration("runtimeClasspath") | ||
configuration("desktopRuntimeClasspath") | ||
} | ||
|
||
//compose.desktop { | ||
//} | ||
kotlin { | ||
jvm("desktop") | ||
sourceSets { | ||
val commonMain by getting { | ||
dependencies { | ||
implementation(compose.foundation) | ||
implementation(compose.material3) | ||
implementation(project(":mock-data")) | ||
implementation(project(":models")) | ||
implementation(project(":networking")) | ||
implementation(project(":shopping-cart")) | ||
} | ||
} | ||
|
||
val desktopMain by getting { | ||
dependsOn(commonMain) | ||
dependencies { | ||
implementation(compose.desktop.currentOs) | ||
|
||
|
||
// implementation(compose.desktop.currentOs) | ||
implementation(project(":compose-ui")) | ||
// implementation("androidx.compose.ui:ui-desktop-:1.7.0-beta02") | ||
// implementation("androidx.compose.material3:material3-window-size-class:1.3.0-beta04") | ||
// implementation("org.jetbrains.compose.desktop:desktop-jvm-macos-arm64:1.6.11") | ||
// implementation("androidx.compose.material3:material3:1.3.0-beta04") | ||
// implementation("androidx.compose.material:material:1.3.0-beta04") | ||
// implementation("androidx.compose.material3:material3-window-size-class:1.3.0-beta04") | ||
// api(libs.androidx.material3.desktop) | ||
} | ||
} | ||
} | ||
} | ||
compose.desktop { | ||
|
||
|
||
application { | ||
mainClass = "com.handstandsam.shoppingapp.compose.MainKt" | ||
application { | ||
mainClass = "com.handstandsam.shoppingapp.compose.MainKt" | ||
|
||
// nativeDistributions { | ||
// targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb) | ||
// packageName = "ShoppingApp Desktop" | ||
// packageVersion = "1.0.0" | ||
// } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.