Browse Source

Include grid by default

CSS_GRID_EXAMPLE
Shagen Ogandzhanian 3 years ago
parent
commit
86d98f5954
  1. 3
      examples/web_grid_animation/build.gradle.kts
  2. 2
      web/gradle.properties
  3. 3
      web/settings.gradle.kts

3
examples/web_grid_animation/build.gradle.kts

@ -17,8 +17,7 @@ kotlin {
sourceSets { sourceSets {
val jsMain by getting { val jsMain by getting {
dependencies { dependencies {
implementation(npm("highlight.js", "10.7.2")) implementation(project(":web-core"))
implementation(compose.web.core)
implementation(compose.runtime) implementation(compose.runtime)
} }
} }

2
web/gradle.properties

@ -1,4 +1,4 @@
COMPOSE_CORE_VERSION=0.5.0-build235 COMPOSE_CORE_VERSION=0.5.0-build235
COMPOSE_WEB_VERSION=0.0.16-SNAPSHOT COMPOSE_WEB_VERSION=0.0.16-SNAPSHOT
COMPOSE_WEB_BUILD_WITH_EXAMPLES=true COMPOSE_WEB_BUILD_WITH_EXAMPLES=false
compose.web.tests.integration.withFirefox compose.web.tests.integration.withFirefox

3
web/settings.gradle.kts

@ -34,11 +34,12 @@ module(":web-integration-widgets", "$rootDir/integration-widgets")
module(":web-benchmark-core", "$rootDir/benchmark-core") module(":web-benchmark-core", "$rootDir/benchmark-core")
module(":compose-compiler-integration", "$rootDir/compose-compiler-integration") module(":compose-compiler-integration", "$rootDir/compose-compiler-integration")
module(":examples:compose-web-grid-animation", "../examples/web_grid_animation")
if (extra["COMPOSE_WEB_BUILD_WITH_EXAMPLES"]!!.toString().toBoolean() == true) { if (extra["COMPOSE_WEB_BUILD_WITH_EXAMPLES"]!!.toString().toBoolean() == true) {
println("building with examples") println("building with examples")
module(":examples:falling_balls_with_web", "../examples/falling_balls_with_web") module(":examples:falling_balls_with_web", "../examples/falling_balls_with_web")
module(":examples:compose-web-lp", "../examples/web_landing") module(":examples:compose-web-lp", "../examples/web_landing")
module(":examples:compose-web-grid-animation", "../examples/web_grid_animation")
module(":examples:web-compose-bird", "../examples/web-compose-bird") module(":examples:web-compose-bird", "../examples/web-compose-bird")
module(":examples:web-with-react", "../examples/web-with-react") module(":examples:web-with-react", "../examples/web-with-react")
module(":examples:web-getting-started", "../examples/web-getting-started") module(":examples:web-getting-started", "../examples/web-getting-started")

Loading…
Cancel
Save