Skip to content

Commit

Permalink
Enabled colors-compose-web module
Browse files Browse the repository at this point in the history
  • Loading branch information
chRyNaN committed Jan 6, 2024
1 parent a7623c6 commit 1bd9e6d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions colors-compose-web/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,24 @@ kotlin {
browser()
binaries.executable()
}

sourceSets {
all {
languageSettings.optIn("kotlin.RequiresOptIn")
}

val commonMain by getting {
dependencies {
implementation(compose.runtime)

implementation(project(":colors-core"))
implementation(project(":colors-theme"))
api(project(":colors-core"))
api(project(":colors-theme"))
}
}

val jsMain by getting {
dependencies {
implementation(compose.web.core)
implementation(compose.html.core)
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ pluginManagement {
mavenCentral()
gradlePluginPortal()
google()
maven("https://repo.repsy.io/mvn/chrynan/public")
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
maven("https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental")
maven("https://repo.repsy.io/mvn/chrynan/public")
}
}

Expand All @@ -25,5 +25,5 @@ include(":colors-extension")
include(":colors-theme")
include(":colors-palette")
include(":colors-compose")
//include(":colors-compose-web")
include(":colors-compose-web")
//include(":sample-android")

0 comments on commit 1bd9e6d

Please sign in to comment.