Skip to content

Commit

Permalink
chore(deps): update kotlin monorepo to v1.9.10 (#554)
Browse files Browse the repository at this point in the history
* chore(deps): update kotlin monorepo to v1.9.10

* Added native-image config as in the above intellij issue

apparently 'The cause of the issue is new language feature called EnumEntries'

* Add debug to check isGraalJVM

* Workaround Graal detection bug in application plugin

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sergio del Amo <sergio.delamo@softamo.com>
Co-authored-by: Tim Yates <tim.yates@gmail.com>
  • Loading branch information
3 people committed Sep 1, 2023
1 parent f4bd0f6 commit 0c7a6d9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spock = "2.3-groovy-4.0"
dokka = "1.8.20"
graal-svm = "23.0.1"
junit = "5.9.1"
kotlin = "1.8.22"
kotlin = "1.9.10"
kotlin-coroutines = "1.7.3"
managed-ktor = "2.3.3"
mockito-core = "4.9.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Args = --initialize-at-build-time=kotlin.annotation.AnnotationRetention,kotlin.annotation.AnnotationTarget,kotlin.coroutines.intrinsics.CoroutineSingletons
4 changes: 4 additions & 0 deletions test-suite-graal-databind/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ dependencies {
implementation(mn.micronaut.jackson.databind)
implementation(libs.kotlin.reflect)
implementation(mnReactor.micronaut.reactor)

// Added manually as graalvm-community-jdk-17.0.8_linux-x64_bin on CI does not get detected as Graal (missing java.vendor.version)
implementation(mn.micronaut.graal)

runtimeOnly(mnLogging.logback.classic)
testImplementation(mnTest.micronaut.test.junit5)
}
Expand Down
4 changes: 4 additions & 0 deletions test-suite-graal-serde/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ dependencies {
implementation(mn.micronaut.http.client)
implementation(mnSerde.micronaut.serde.jackson)
implementation(mnReactor.micronaut.reactor)

// Added manually as graalvm-community-jdk-17.0.8_linux-x64_bin on CI does not get detected as Graal (missing java.vendor.version)
implementation(mn.micronaut.graal)

runtimeOnly(mnLogging.logback.classic)
testImplementation(mnTest.micronaut.test.junit5)
}
Expand Down

0 comments on commit 0c7a6d9

Please sign in to comment.