Skip to content

Commit ef57c2d

Browse files
committed
chore: dependency updates and misc fixes
1 parent 72199fe commit ef57c2d

File tree

7 files changed

+69
-58
lines changed

7 files changed

+69
-58
lines changed

README.md

Lines changed: 29 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -116,43 +116,42 @@ $ actionlint
116116

117117
[simple-icons-logo]: https://simpleicons.org/icons/kotlin.svg
118118

119-
120119
### Module Dependency
121120

122121
```mermaid
123122
%%{
124-
init: {
125-
'theme': 'neutral'
126-
}
123+
init: {
124+
'theme': 'neutral'
125+
}
127126
}%%
128127
129128
graph LR
130129
131-
subgraph compose
132-
desktop
133-
web
134-
end
135-
subgraph dep-mgmt
136-
bom
137-
catalog
138-
end
139-
subgraph devtools
140-
compiler
141-
ksp
142-
end
143-
subgraph compiler
144-
compiler
145-
plugin
146-
end
147-
subgraph ksp
148-
ksp
149-
processor
150-
end
151-
web --> common
152-
web --> common
153-
desktop --> common
154-
backend --> common
155-
web --> common
156-
benchmarks --> common
130+
subgraph compose
131+
desktop
132+
web
133+
end
134+
subgraph dep-mgmt
135+
bom
136+
catalog
137+
end
138+
subgraph devtools
139+
compiler
140+
ksp
141+
end
142+
subgraph compiler
143+
compiler
144+
plugin
145+
end
146+
subgraph ksp
147+
ksp
148+
processor
149+
end
150+
web --> common
151+
web --> common
152+
desktop --> common
153+
backend --> common
154+
web --> common
155+
benchmarks --> common
157156
158157
```

gradle/build-logic/common-plugins/src/main/kotlin/plugins/common.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,13 @@ tasks {
160160
val publish = GithubAction.isTagBuild && Platform.isLinux
161161
if (publish) {
162162
logger.lifecycle("Publishing task is enabled for this build!")
163-
subprojects.mapNotNull { it.tasks.findByName("publish") }.forEach { dependsOn(it) }
163+
subprojects.mapNotNull { it.tasks.findByName(":publish") }.forEach { dependsOn(it) }
164164
}
165165
}
166166

167167
// Task to print the project version
168168
register("v") {
169-
description = "Print the ${project.name} version!"
170-
doLast { println(project.version.toString()) }
169+
description = "Print the ${rootProject.name} version!"
170+
doLast { println(rootProject.version.toString()) }
171171
}
172172
}

gradle/build-logic/common-plugins/src/main/kotlin/plugins/kotlin.docs.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import org.jetbrains.dokka.gradle.DokkaTaskPartial
1111
plugins {
1212
id("org.jetbrains.dokka")
1313
id("org.jetbrains.kotlinx.kover")
14+
id("test-report-aggregation")
1415
}
1516

1617
// The following plugins and config apply only to a root project.

gradle/build-logic/common-plugins/src/main/kotlin/plugins/misc.gradle.kts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,17 @@ tasks {
8989

9090
// Clean all composite builds
9191
register("cleanAll") {
92-
description = "Clean all composite builds"
92+
description = "Clean all projects including composite builds"
9393
group = LifecycleBasePlugin.CLEAN_TASK_NAME
94+
9495
dependsOn(gradle.includedBuilds.map { it.task(":clean") })
95-
dependsOn(subprojects.map { it.tasks.clean })
96+
subprojects.mapNotNull { it.tasks.findByName("clean") }.forEach { dependsOn(it) }
9697
}
9798

9899
wrapper {
99100
gradleVersion = libs.versions.gradle.asProvider().get()
100101
distributionType = Wrapper.DistributionType.ALL
102+
// distributionUrl = "${Repo.GRADLE_DISTRO}/gradle-$gradleVersion-bin.zip"
101103
}
102104

103105
defaultTasks("clean", "tasks", "--all")

gradle/libs.versions.toml

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[versions]
22
java = "22"
33
kotlin = "1.9.0"
4-
kotlin-ksp = "1.9.0-1.0.12"
4+
kotlin-ksp = "1.9.0-1.0.13"
55
kotlin-jvmtarget = "20"
66
kotlin-dsl-jvmtarget = "17"
77
kotlin-api-version = "1.9"
88
kotlin-lang-version = "2.0"
9-
gradle = "8.3-rc-2"
9+
gradle = "8.3-rc-4"
1010
node-version = "20.4.0"
1111
java-vendor = "Oracle"
1212
java-jvmArguments = "--enable-preview"
@@ -27,14 +27,14 @@ kotlinx-io = "0.2.1"
2727
kotlinx-atomicfu = "0.21.0"
2828
kotlinx-coroutines = "1.7.3"
2929
kotlinx-datetime = "0.4.0"
30-
kotlinx-serialization = "1.5.1"
30+
kotlinx-serialization = "1.6.0-RC"
3131
kotlinx-collections-immutable = "0.3.5"
32-
kotlinx-lincheck = "2.22"
32+
kotlinx-lincheck = "2.23"
3333
kotlinx-html = "0.9.1"
34-
kotlinx-benchmark = "0.4.8"
34+
kotlinx-benchmark = "0.4.9"
3535
kotlinx-reflect-lite = "1.1.0"
3636
kotlinx-bincompat = "0.13.2"
37-
kotlin-wrappers = "1.0.0-pre.603"
37+
kotlin-wrappers = "1.0.0-pre.614"
3838
zip-prefixer = "0.3.1"
3939
ajalt-mordant = "2.1.0"
4040
ajalt-clikt = "4.1.0"
@@ -43,21 +43,22 @@ compose-routing = "0.2.12"
4343
classgraph = "4.8.161"
4444
cache4k = "0.11.0"
4545
dokka = "1.8.20"
46-
intellij-markdown = "0.4.1"
46+
intellij-coverage = "1.0.733"
47+
intellij-markdown = "0.5.0"
4748
jgit = "6.5.0.202303070854-r"
4849
jte = "3.0.2"
4950
junit = "5.10.0"
5051
koin = "3.4.1"
5152
kotest = "5.6.2"
5253
mockk = "1.13.5"
53-
mokkery = "1.9.0-1.1.0"
54+
mokkery = "1.9.0-1.3.0"
5455
ksp-auto-service = "1.1.0"
5556
ksp-redacted = "1.6.0"
56-
ksp-powerassert = "0.13.0"
57+
powerassert = "0.13.0"
5758
slf4j = "2.0.7"
5859
logback = "1.4.8"
5960
log4j = "3.0.0-alpha1"
60-
jmh = "1.36"
61+
jmh = "1.37"
6162
ktfmt = "0.44"
6263
google-javaformat = "1.17.0"
6364
palantir-javaformat = "2.33.0"
@@ -82,7 +83,7 @@ parsus = "0.4.0"
8283
java-keyring = "1.0.3"
8384
java-keychain = "1.1.0"
8485
webjars-xterm = "5.1.0"
85-
ktor = "2.3.2"
86+
ktor = "2.3.3"
8687
ktor-cohort = "2.1.3"
8788
kobweb = "0.13.9"
8889
exposed = "0.41.1"
@@ -97,6 +98,8 @@ shedlock = "5.6.0"
9798
sherlock = "0.4.19"
9899
expiringmap = "0.5.10"
99100
apache-commons-imaging = "1.0-alpha3"
101+
testcontainers = "1.18.3"
102+
kubernetes-client = "18.0.1"
100103

101104
# NPM Dependencies
102105
npm-highlightjs = "11.8.0"
@@ -111,11 +114,11 @@ gradle-enterprise = "3.14.1"
111114
nexus-publish = "2.0.0-rc-1"
112115
shadow = "8.1.1"
113116
spotless = "6.20.0"
114-
semver-plugin = "0.5.0-rc.1"
117+
semver-plugin = "0.5.0-rc.5"
115118
taskinfo = "2.1.0"
116119
dependency-analysis = "1.20.0"
117120
best-practices-plugin = "0.10"
118-
graalvm-nativeimage = "0.9.23"
121+
graalvm-nativeimage = "0.9.24"
119122
github-depgraph = "0.1.0"
120123
wire-plugin = "4.8.0"
121124
poko-plugin = "0.14.0"
@@ -125,7 +128,7 @@ cyclonedx-plugin = "1.7.4"
125128
modulegraph = "0.4.0"
126129
jetbrains-compose = "1.4.3"
127130
jetbrains-compose-compiler = "1.5.0"
128-
cash-molecule = "1.1.0"
131+
cash-molecule = "1.2.0"
129132
npm-publish-plugin = "3.4.1"
130133
exposed-plugin = "0.2.1"
131134

@@ -140,6 +143,7 @@ build-kotlinx-atomicfu = { module = "org.jetbrains.kotlinx:atomicf
140143
build-kotlinx-benchmark = { module = "org.jetbrains.kotlinx:kotlinx-benchmark-plugin" , version.ref = "kotlinx-benchmark"}
141144
build-dokka = { module = "org.jetbrains.dokka:dokka-gradle-plugin" , version.ref = "dokka"}
142145
build-kotlin-ksp = { module = "com.google.devtools.ksp:symbol-processing-gradle-plugin" , version.ref = "kotlin-ksp"}
146+
build-powerassert = { module = "com.bnorm.power:kotlin-power-assert-gradle" , version.ref = "powerassert"}
143147
build-ksp-redacted = { module = "dev.zacsweers.redacted:redacted-compiler-plugin-gradle" , version.ref = "ksp-redacted"}
144148
build-benmanesversions = { module = "com.github.ben-manes:gradle-versions-plugin" , version.ref = "benmanes"}
145149
build-gradle-enterprise = { module = "com.gradle.enterprise:com.gradle.enterprise.gradle.plugin" , version.ref = "gradle-enterprise" }
@@ -170,6 +174,7 @@ build-jetbrains-compose-runtime = { module = "org.jetbrains.compose.runtime
170174
build-jetbrains-compose-compiler = { module = "org.jetbrains.compose.compiler:compiler" , version.ref = "jetbrains-compose-compiler"}
171175
build-npm-publish-plugin = { module = "dev.petuska:npm-publish-gradle-plugin" , version.ref = "npm-publish-plugin"}
172176
build-exposed-plugin = { module = "gradle.plugin.com.jetbrains.exposed.gradle:plugin" , version.ref = "exposed-plugin"}
177+
build-intellij-coverage = { module = "org.jetbrains.intellij.deps:intellij-coverage-reporter" , version.ref = "intellij-coverage" }
173178

174179
# Gradle Dependencies
175180
kotlin-bom = { module = "org.jetbrains.kotlin:kotlin-bom" , version.ref = "kotlin"}
@@ -332,6 +337,11 @@ multiplatform-settings-core = { module = "com.russhwolf:multiplatform-s
332337
multiplatform-settings-coroutines = { module = "com.russhwolf:multiplatform-settings-coroutines" , version.ref = "kmp-settings" }
333338

334339
apache-commons-imaging = { module = "org.apache.commons:commons-imaging" , version.ref = "apache-commons-imaging" }
340+
testcontainers-bom = { module = "org.testcontainers:testcontainers-bom" , version.ref = "testcontainers"}
341+
testcontainers-core = { module = "org.testcontainers:testcontainers" }
342+
testcontainers-postgresql = { module = "org.testcontainers:postgresql" }
343+
testcontainers-junit = { module = "org.testcontainers:junit-jupiter" }
344+
kubernetes-client = { module = "io.kubernetes:client-java" , version.ref = "kubernetes-client"}
335345

336346
[bundles]
337347
ktor-server = [

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-8.3-rc-2-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-rc-4-all.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

settings.gradle.kts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,16 @@ include(":compose:web")
1818

1919
include(":compose:desktop")
2020

21+
// includeBuild("misc/build") {
22+
// dependencySubstitution {
23+
// substitute(module("dev.suresh:misc-build")).using(project(":"))
24+
// }
25+
// }
26+
2127
include(":dep-mgmt:bom")
2228

2329
include(":dep-mgmt:catalog")
2430

2531
include(":devtools:ksp:processor")
2632

27-
include(
28-
":devtools:compiler:plugin")
29-
30-
// includeBuild("misc/build") {
31-
// dependencySubstitution {
32-
// substitute(module("dev.suresh:misc-build")).using(project(":"))
33-
// }
34-
// }
33+
include(":devtools:compiler:plugin")

0 commit comments

Comments
 (0)