Skip to content

Commit bc5a1e6

Browse files
Add Guava to the dependencies
This fixes a runtime NoSuchMethodError for systemNanoTime. Picked from kotlin-community-tools/kotlin-language-server#8 Co-authored-by: Alexandros Alexiou <alex.alexiouu@gmail.com>
1 parent 95c6368 commit bc5a1e6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

gradle/libs.versions.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ kotlinVersion = "2.1.0"
33
lsp4jVersion = "0.21.2"
44
exposedVersion = "0.37.3"
55
jmhVersion = "1.20"
6+
guavaVersion = "33.3.0-jre"
67

78
[libraries]
89
org-jetbrains-kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlinVersion" }
@@ -31,6 +32,8 @@ org-jetbrains-fernflower = { module = "org.jetbrains:fernflower", version = "1.0
3132

3233
com-github-fwcd-ktfmt = { module = "com.github.fwcd.ktfmt:ktfmt", version = "b5d31d1" }
3334

35+
com-google-guava-guava = { module = "com.google.guava:guava", version.ref = "guavaVersion" }
36+
3437
com-h2database-h2 = { module = "com.h2database:h2", version = "1.4.200" }
3538

3639
com-beust-jcommander = { module = "com.beust:jcommander", version = "1.78" }

platform/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ dependencies {
2020
api(libs.org.jetbrains.exposed.dao)
2121
api(libs.org.jetbrains.exposed.jdbc)
2222
api(libs.com.h2database.h2)
23+
api(libs.com.google.guava.guava)
2324
api(libs.com.github.fwcd.ktfmt)
2425
api(libs.com.beust.jcommander)
2526
api(libs.org.openjdk.jmh.core)

0 commit comments

Comments
 (0)