Skip to content

Commit d8fc4f8

Browse files
committed
Merge branch 'dev' into copilot/fix-1e12ff10-bb36-42db-8915-7914dc2c7a25
2 parents 55f4924 + 3046d8a commit d8fc4f8

File tree

16 files changed

+1146
-3516
lines changed

16 files changed

+1146
-3516
lines changed

README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -184,15 +184,6 @@ kotlin {
184184

185185
View [all the artifacts on Maven Central](https://search.maven.org/search?q=g:com.huanshankeji%20AND%20a:compose-multiplatform-*).
186186

187-
This project depends on [Kobweb](https://github.com/varabyte/kobweb) which is not published to Maven Central yet, so you have to add the following Maven repository:
188-
189-
```kotlin
190-
repositories {
191-
mavenCentral()
192-
maven("https://us-central1-maven.pkg.dev/varabyte-repos/public")
193-
}
194-
```
195-
196187
### Material Symbols & Icons on JS
197188

198189
See [the corresponding section in Compose HTML Material](https://github.com/huanshankeji/compose-html-material?tab=readme-ov-file#material-symbols--icons) for configuring Material Icons on JS.

buildSrc/build.gradle.kts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ plugins {
33
}
44

55
repositories {
6-
//mavenLocal() // comment out when not needed
6+
mavenLocal() // TODO comment out when not needed so the build is always reproducible by others
77
gradlePluginPortal()
88
google()
99
mavenCentral()
1010
}
1111

1212
dependencies {
13-
val kotlinVersion = "2.2.0-RC2"
13+
val kotlinVersion = "2.2.20"
1414
implementation(kotlin("gradle-plugin", kotlinVersion))
1515
implementation("org.jetbrains.kotlin:compose-compiler-gradle-plugin:$kotlinVersion")
16-
implementation("org.jetbrains.compose:compose-gradle-plugin:1.8.1")
17-
implementation("com.huanshankeji.team:gradle-plugins:0.9.0") // don't use a snapshot version in a main branch
18-
implementation("com.android.tools.build:gradle:8.10.1")
19-
implementation("com.huanshankeji:common-gradle-dependencies:0.9.0-20241203") // don't use a snapshot version in a main branch
16+
implementation("org.jetbrains.compose:compose-gradle-plugin:1.9.0")
17+
implementation("com.huanshankeji.team:gradle-plugins:0.10.0-SNAPSHOT") // TODO don't use a snapshot version in a main branch
18+
implementation("com.android.tools.build:gradle:8.11.2") // The latest is 8.13.0 but not compatible yet.
19+
implementation("com.huanshankeji:common-gradle-dependencies:0.10.0-20250918-SNAPSHOT") // TODO don't use a snapshot version in a main branch
2020
}

buildSrc/src/main/kotlin/VersionsAndDependencies.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ object DependencyVersions {
1111
// https://slack-chats.kotlinlang.org/t/27579160/after-updating-to-1-8-0-rc01-package-androidx-compose-materi
1212
// https://github.com/JetBrains/compose-multiplatform/releases/tag/v1.8.0-rc01
1313
const val composeMultiplatformMaterialIconsExtended = "1.7.3"
14-
val kobweb = "0.19.2"
15-
val huanshankejiComposeHtml = "0.4.0" // don't use a snapshot version in a main branch
14+
val kobweb = "0.23.3"
15+
val huanshankejiComposeHtml = "0.4.1-SNAPSHOT" // TODO don't use a snapshot version in a main branch
1616
val kmdc = "0.1.2"
17-
val materialSymbols = "0.25.1"
17+
val materialSymbols = "0.35.2"
1818
}

buildSrc/src/main/kotlin/common-conventions.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ plugins {
88
}
99

1010
repositories {
11-
//mavenLocal() // commented out so the build is always reproducible by others // put back if needed when depending on a snapshot
11+
mavenLocal() // TODO comment out when not needed so the build is always reproducible by others
1212
mavenCentral()
1313
google()
14-
maven("https://us-central1-maven.pkg.dev/varabyte-repos/public") // for Kobweb
1514
}
1615

1716
group = "com.huanshankeji"

common/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import com.huanshankeji.team.`Shreck Ye`
1+
import com.huanshankeji.team.ShreckYe
22
import com.huanshankeji.team.pomForTeamDefaultOpenSource
33
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
44

@@ -74,6 +74,6 @@ publishing.publications.withType<MavenPublication> {
7474
"Unified Compose Multiplatform common wrappers $FOR_COMPOSE_TARGETS_IN_TITLE",
7575
"Common wrappers of components (including layouts) and modifiers $FOR_COMPOSE_TARGETS_IN_DESCRIPTION"
7676
) {
77-
`Shreck Ye`()
77+
ShreckYe()
7878
}
7979
}

common/legacy/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ publishing.publications.withType<MavenPublication> {
3434
"This legacy module depends on `com.huanshankeji:compose-html-common` instead of Kobweb Silk " +
3535
"and its components use the `ModifierOrAttrsScope` class to configure styles."
3636
) {
37-
`Shreck Ye`()
37+
ShreckYe()
3838
}
3939
}
4040
*/

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-all.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ case "$( uname )" in #(
114114
NONSTOP* ) nonstop=true ;;
115115
esac
116116

117-
CLASSPATH="\\\"\\\""
118117

119118

120119
# Determine the Java command to use to start the JVM.
@@ -172,7 +171,6 @@ fi
172171
# For Cygwin or MSYS, switch paths to Windows format before running java
173172
if "$cygwin" || "$msys" ; then
174173
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
175-
CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
176174

177175
JAVACMD=$( cygpath --unix "$JAVACMD" )
178176

@@ -212,7 +210,6 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
212210

213211
set -- \
214212
"-Dorg.gradle.appname=$APP_BASE_NAME" \
215-
-classpath "$CLASSPATH" \
216213
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
217214
"$@"
218215

gradlew.bat

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,10 @@ goto fail
7070
:execute
7171
@rem Setup the command line
7272

73-
set CLASSPATH=
7473

7574

7675
@rem Execute Gradle
77-
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
76+
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
7877

7978
:end
8079
@rem End local scope for the variables with windows NT shell

0 commit comments

Comments
 (0)