Skip to content

Commit 15dc6fd

Browse files
committed
Bump plugin and dependency versions to the latest stable ones
1 parent e3338d4 commit 15dc6fd

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

buildSrc/build.gradle.kts

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,12 @@ repositories {
77
//maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
88
}
99

10-
val kotlinVersion = "1.9.20"
11-
val huanshankejiGradlePluginsVersion = "0.4.1"
10+
val huanshankejiGradlePluginsVersion = "0.5.1"
1211

1312
dependencies {
14-
implementation(kotlin("gradle-plugin", kotlinVersion))
15-
implementation("org.jetbrains.compose:compose-gradle-plugin:1.5.10")
13+
implementation(kotlin("gradle-plugin", "1.9.23"))
14+
implementation("org.jetbrains.compose:compose-gradle-plugin:1.6.1")
1615
implementation("com.huanshankeji:kotlin-common-gradle-plugins:$huanshankejiGradlePluginsVersion")
1716
implementation("com.huanshankeji.team:gradle-plugins:$huanshankejiGradlePluginsVersion")
18-
}
19-
20-
configurations.all {
21-
resolutionStrategy {
22-
force("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
23-
}
17+
implementation("com.huanshankeji:common-gradle-dependencies:0.7.1-20240314")
2418
}

buildSrc/src/main/kotlin/Versions.kt renamed to buildSrc/src/main/kotlin/VersionsAndDependencies.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import com.huanshankeji.CommonDependencies
2+
13
const val projectVersion = "0.2.2-SNAPSHOT"
24

35
object DependencyVersions {
@@ -6,3 +8,5 @@ object DependencyVersions {
68

79
val mdc = "13.0.0"
810
}
11+
12+
val commonDependencies = CommonDependencies()

compose-web-common/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ kotlin {
1111
dependencies {
1212
implementation(compose.html.core)
1313
implementation(compose.runtime)
14+
implementation(commonDependencies.kotlinx.coroutines.core())
1415
}
1516
}
1617
}

compose-web-material/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ kotlin {
3333
)
3434

3535
implementation(npm("@material/card", DependencyVersions.mdc))
36+
37+
implementation(commonDependencies.kotlinx.coroutines.core())
3638
}
3739
}
3840
}

0 commit comments

Comments
 (0)