|
17 | 17 | ### Prerequisites
|
18 | 18 | - **JDK 17**: Required (as specified in GitHub Actions workflows)
|
19 | 19 | - **Network Access**: Required for initial builds to download Android Gradle Plugin and Kobweb dependencies
|
20 |
| -- **Gradle 9.0.0**: Automatically handled by wrapper |
| 20 | +- **Gradle 9.1.0**: Automatically handled by wrapper |
21 | 21 |
|
22 | 22 | ### Essential Repository Setup
|
23 | 23 | ```bash
|
24 |
| -# The project depends on Kobweb which requires a specific Maven repository |
25 |
| -# This is automatically configured in buildSrc/src/main/kotlin/common-conventions.gradle.kts |
26 |
| -# Maven repository: https://us-central1-maven.pkg.dev/varabyte-repos/public |
| 24 | +# The project no longer requires external repositories for Kobweb as of version 0.23.3 |
| 25 | +# All dependencies are now available from standard repositories (mavenCentral, google) |
27 | 26 | ```
|
28 | 27 |
|
29 | 28 | ### Build Commands (In Order)
|
30 | 29 |
|
31 | 30 | #### 1. Basic Project Setup
|
32 | 31 | ```bash
|
33 |
| -./gradlew --version # Verify Gradle 9.0.0 and JDK 17 |
| 32 | +./gradlew --version # Verify Gradle 9.1.0 and JDK 17 |
34 | 33 | ```
|
35 | 34 |
|
36 | 35 | #### 2. Publishing to Local Maven (Primary Development Command)
|
|
62 | 61 |
|
63 | 62 | #### Common Build Issues and Workarounds
|
64 | 63 |
|
65 |
| -1. **Network Connectivity**: Initial builds require internet access for Android Gradle Plugin (8.10.1) and Kobweb dependencies. If build fails with network errors, ensure internet connectivity. |
| 64 | +1. **Network Connectivity**: Initial builds require internet access for Android Gradle Plugin (8.11.2) and other dependencies. If build fails with network errors, ensure internet connectivity. |
66 | 65 |
|
67 | 66 | 2. **Memory Issues**: If Wasm compilation fails with OOM, the memory is already optimized in gradle.properties.
|
68 | 67 |
|
@@ -125,16 +124,15 @@ src/
|
125 | 124 | repositories {
|
126 | 125 | mavenCentral()
|
127 | 126 | google() // For Android components
|
128 |
| - maven("https://us-central1-maven.pkg.dev/varabyte-repos/public") // For Kobweb |
129 | 127 | }
|
130 | 128 | ```
|
131 | 129 |
|
132 | 130 | #### Key Dependencies
|
133 |
| -- **Kotlin**: 2.2.0-RC2 with Compose Compiler |
134 |
| -- **Compose Multiplatform**: 1.8.1 |
135 |
| -- **Android Gradle Plugin**: 8.10.1 |
136 |
| -- **Kobweb**: 0.19.2 (not on Maven Central) |
137 |
| -- **Compose HTML Material**: 0.4.0 |
| 131 | +- **Kotlin**: 2.2.20 with Compose Compiler |
| 132 | +- **Compose Multiplatform**: 1.9.0 |
| 133 | +- **Android Gradle Plugin**: 8.11.2 |
| 134 | +- **Kobweb**: 0.23.3 (now on Maven Central) |
| 135 | +- **Compose HTML Material**: 0.4.1-SNAPSHOT |
138 | 136 | - **Binary Compatibility Validator**: 0.16.3 (enabled)
|
139 | 137 |
|
140 | 138 | ### Platform-Specific Implementation Patterns
|
@@ -188,6 +186,6 @@ settings.gradle.kts # Project structure and dependency management
|
188 | 186 | - **Trust These Instructions**: Only perform additional searches if information here is incomplete or incorrect
|
189 | 187 | - **Network Dependency**: Initial builds require internet access - cannot work in fully offline environments
|
190 | 188 | - **Memory Requirements**: Ensure adequate memory for Wasm compilation (2GB JVM heap configured)
|
191 |
| -- **Kobweb Dependency**: This is the main external dependency not on Maven Central - builds will fail without access to their repository |
| 189 | +- **Kobweb Dependency**: As of version 0.23.3, Kobweb is now published to Maven Central |
192 | 190 | - **Limited Test Coverage**: Don't expect comprehensive test suites - focus on build and demo validation
|
193 | 191 | - **Platform Complexity**: This is a sophisticated multiplatform project with 6+ target platforms and complex expect/actual patterns
|
0 commit comments