Skip to content

Commit ec33489

Browse files
committed
chore: gradle 9.0.0-RC1 support
1 parent 961d344 commit ec33489

File tree

7 files changed

+30
-35
lines changed

7 files changed

+30
-35
lines changed

gradle/build-logic/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ dependencies {
167167
implementation(libs.plugins.mokkery.dep)
168168
implementation(libs.plugins.jte.dep)
169169
implementation(libs.plugins.jib.dep)
170-
implementation(libs.plugins.modulegraph.dep)
171170
implementation(libs.plugins.kopy.dep)
172171
implementation(libs.plugins.github.changelog.dep)
173172
implementation(libs.plugins.nmcp.project.dep)

gradle/build-logic/src/main/kotlin/common/ProjectExtns.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ val Project.runJvmArgs
267267
|+jdk.TLSHandshake#stackTrace=true,
268268
|+jdk.X509Certificate#enabled=true,
269269
|+jdk.X509Validation#enabled=true,
270+
|+jdk.CPUTimeSample#enabled=true,
270271
|settings=profile"""
271272
.joinToConfigString(),
272273
"-XX:FlightRecorderOptions:stackdepth=64",
@@ -287,7 +288,6 @@ val Project.runJvmArgs
287288
"-Djava.security.egd=file:/dev/./urandom",
288289
"-Djdk.includeInExceptions=hostInfo,jar",
289290
"-Dkotlinx.coroutines.debug",
290-
"-Djdk.incubator.vector.VECTOR_ACCESS_OOB_CHECK=0",
291291
"-Dcom.sun.management.jmxremote",
292292
"-Dcom.sun.management.jmxremote.local.only=false",
293293
"-Dcom.sun.management.jmxremote.port=9898",

gradle/build-logic/src/main/kotlin/dev.suresh.plugin.graalvm.gradle.kts

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ graalvmNative {
2727
quickBuild = quickBuildEnabled
2828
richOutput = true
2929
buildArgs = buildList {
30+
add("--native-image-info")
3031
add("--enable-preview")
3132
add("--enable-native-access=ALL-UNNAMED")
32-
add("--native-image-info")
3333
add("--enable-https")
34-
add("--install-exit-handlers")
34+
add("--future-defaults=all")
3535
add("-R:MaxHeapSize=64m")
3636
add("-H:+UnlockExperimentalVMOptions")
37-
add("-H:+CompactingOldGen")
37+
add("-H:+VectorAPISupport")
3838
add("-H:+ReportExceptionStackTraces")
3939
add("-O3")
4040
// add("-Os")
@@ -46,16 +46,17 @@ graalvmNative {
4646
// add("-H:IncludeResources=.*(message\\.txt|\\app.properties)\$")
4747
// add("--features=graal.aot.RuntimeFeature")
4848
// add("--enable-url-protocols=http,https,jar,unix")
49+
// add("--enable-all-security-services")
4950
// add("--initialize-at-build-time=kotlinx,kotlin,org.slf4j")
5051
// add("-EBUILD_NUMBER=${project.version}")
5152
// add("-ECOMMIT_HASH=${semverExtn.commits.get().first().hash}")
5253

5354
val monOpts = buildString {
5455
append("heapdump,jfr,jvmstat,threaddump,nmt")
55-
if (Platform.isUnix) {
56-
append(",")
57-
append("jcmd")
58-
}
56+
// if (Platform.isUnix) {
57+
// append(",")
58+
// append("jcmd")
59+
// }
5960
}
6061
add("--enable-monitoring=$monOpts")
6162

gradle/build-logic/src/main/kotlin/dev.suresh.plugin.root.gradle.kts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import com.github.ajalt.mordant.rendering.TextColors.*
22
import common.*
33
import common.Platform
4-
import org.gradle.api.publish.plugins.PublishingPlugin.PUBLISH_LIFECYCLE_TASK_NAME
4+
import org.gradle.api.publish.plugins.PublishingPlugin.*
55
import org.gradle.kotlin.dsl.*
66

77
plugins {
@@ -10,7 +10,6 @@ plugins {
1010
id("dev.suresh.plugin.kotlin.docs")
1111
id("dev.suresh.plugin.publishing")
1212
com.github.`ben-manes`.versions
13-
dev.iurysouza.modulegraph
1413
com.dorongold.`task-tree`
1514
id("com.gradleup.nmcp.aggregation")
1615
// id("gg.jte.gradle")
@@ -41,11 +40,6 @@ idea {
4140
project.vcs = "Git"
4241
}
4342

44-
moduleGraphConfig {
45-
readmePath = "./README.md"
46-
heading = "### Module Dependency"
47-
}
48-
4943
// jte {
5044
// contentType = ContentType.Plain
5145
// generateNativeImageResources = true

gradle/libs.versions.toml

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[versions]
22
java = "26"
3-
kotlin = "2.2.0-RC2"
4-
kotlin-ksp = "2.2.0-RC2-2.0.2"
3+
kotlin = "2.2.0-RC3"
4+
kotlin-ksp = "2.2.0-RC3-2.0.2"
55
kotlin-jvmtarget = "24"
66
kotlin-dsl-jvmtarget = "21"
77
kotlin-api-version = "2.2"
88
kotlin-lang-version = "2.2"
9-
gradle = "8.14.2"
9+
gradle = "9.0.0-rc-1"
1010
java-vendor = "Oracle"
1111
java-jvmargs = "--enable-preview"
1212
java-addmodules = "jdk.incubator.vector"
@@ -20,7 +20,7 @@ org-name = "suresh.dev"
2020
org-url = "https://suresh.dev"
2121

2222
# Dependency Versions
23-
bc-plugins = "2.4.0"
23+
bc-plugins = "2.5.0"
2424
kotlinx-kover = "0.9.1"
2525
kotlinx-bcv = "0.17.0"
2626
kotlin-dokka = "2.0.0"
@@ -39,7 +39,7 @@ kotlinx-benchmark = "0.4.14"
3939
kotlinx-fuzz = "0.2.2"
4040
kotlinx-metadata = "0.9.0"
4141
kotlinx-reflect-lite = "1.2.0-RC"
42-
kotlin-wrappers = "2025.6.4"
42+
kotlin-wrappers = "2025.6.5"
4343
kotlin-redacted = "1.14.0-alpha01"
4444
kotlin-serviceloader = "0.0.16"
4545
kotlinx-multik = "0.2.3"
@@ -54,7 +54,7 @@ postgresql = "42.7.7"
5454
embedded-postgres = "2.1.0"
5555
embedded-postgres-bom = "17.5.0"
5656
evas = "1.3.0"
57-
kopy = "0.15.0+2.1.20"
57+
kopy = "0.16.0+2.1.21"
5858
poko = "0.18.7"
5959
mappie = "2.1.21-1.3.0"
6060
akkurate = "0.11.0"
@@ -108,11 +108,11 @@ logback-tyler = "1.0.2"
108108
log4j = "3.0.0-beta3"
109109
jmh = "1.37"
110110
mrjar = "0.1.1"
111-
ktfmt = "0.54"
111+
ktfmt = "0.55"
112112
google-javaformat = "1.27.0"
113113
palantir-javaformat = "2.68.0"
114114
google-auto-service = "1.1.1"
115-
google-tink = "1.17.0"
115+
google-tink = "1.18.0"
116116
graalvm = "24.2.1"
117117
jspecify = "1.0.0"
118118
rsocket = "0.20.0"
@@ -125,19 +125,19 @@ kotlin-diff = "1.1.0"
125125
kotlin-retry = "2.0.1"
126126
kotlinx-jsonpath = "3.0.2"
127127
kotlin-cryptography = "0.4.0"
128-
koja = "0.3.3"
128+
koja = "0.4.0"
129129
json-sugar = "0.7.0"
130130
json-schema-validator = "0.5.1"
131131
pwall-json-schema = "0.56"
132-
schema-kenerator = "2.1.2"
132+
schema-kenerator = "2.1.3"
133133
uri-kmp = "0.0.19"
134134
urlencoder = "1.6.0"
135135
bytesize = "2.0.0-beta04"
136136
cash-turbine = "1.2.1"
137137
cardiologist = "0.5.0"
138138
kmp-store5 = "5.1.0-alpha06"
139139
kmp-settings = "1.3.0"
140-
kmp-appdirs = "1.2.0"
140+
kmp-appdirs = "2.0.0"
141141
parsus = "0.6.1"
142142
ksoup = "0.2.4"
143143
java-keyring = "1.0.4"
@@ -183,15 +183,16 @@ cel = "0.9.1"
183183
kfswatch = "1.3.0"
184184
kmp-process = "0.3.1"
185185
kmbed = "1.8.4"
186-
langchain4j = "1.0.1"
186+
langchain4j = "1.1.0"
187+
langchain4j-jlama = "1.1.0-beta7"
187188
langchain4j-kotlin = "0.2.0"
188189
jlama = "0.8.4"
189190
mcp-kotlin = "0.5.1"
190191
koog = "0.2.1"
191-
mcp4k = "0.4.0"
192+
mcp4k = "0.4.1"
192193
dflib = "2.0.0-M2"
193194
ldaptive = "2.4.1"
194-
chicory = "1.4.0"
195+
chicory = "1.4.1"
195196
weh-bindings = "0.5"
196197
wasm2class = "0.3"
197198
zerofs = "0.1.0"
@@ -226,14 +227,14 @@ swagger-style = "https://unpkg.com/swagger-ui-themes@3.0.1/them
226227

227228
# Plugin versions
228229
benmanes = "0.52.0"
229-
caupain = "1.2.1"
230+
caupain = "1.3.0"
230231
foojay-resolver = "1.0.0"
231232
gradle-develocity = "4.0.2"
232233
nmcp = "0.1.5"
233234
nexus-publish = "2.0.0"
234235
vanniktech-publish = "0.32.0"
235236
gradle-publish = "1.3.1"
236-
shadow = "9.0.0-beta16"
237+
shadow = "9.0.0-beta17"
237238
spotless = "7.0.4"
238239
semver-plugin = "0.8.0"
239240
gratatouille = "0.0.10"
@@ -249,7 +250,7 @@ github-depgraph = "0.1.0"
249250
github-changelog = "2.2.0"
250251
wire-plugin = "5.3.3"
251252
buildkonfig = "0.17.1"
252-
gmazzo-buildconfig = "5.6.5"
253+
gmazzo-buildconfig = "5.6.6"
253254
cyclonedx-plugin = "1.10.0"
254255
modulegraph = "0.12.0"
255256
exposed-plugin = "0.2.1"
@@ -660,7 +661,7 @@ zerofs = { module = "io.roastedroot:zerofs"
660661
# AI/ML
661662
langchain4j = { module = "dev.langchain4j:langchain4j" , version.ref = "langchain4j" }
662663
langchain4j-bom = { module = "dev.langchain4j:langchain4j-bom" , version.ref = "langchain4j" }
663-
langchain4j-jlama = { module = "dev.langchain4j:langchain4j-jlama" , version.ref = "langchain4j" }
664+
langchain4j-jlama = { module = "dev.langchain4j:langchain4j-jlama" , version.ref = "langchain4j-jlama" }
664665
langchain4j-kotlin = { module = "me.kpavlov.langchain4j.kotlin:langchain4j-kotlin" , version.ref = "langchain4j-kotlin" }
665666
jlama-core = { module = "com.github.tjake:jlama-core" , version.ref = "jlama" }
666667
jlama-native = { module = "com.github.tjake:jlama-native" , version.ref = "jlama" }

gradle/wrapper/gradle-wrapper.jar

1.65 KB
Binary file not shown.

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

0 commit comments

Comments
 (0)