Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Kotlin libraries to 1.7.22 #109

Merged
merged 1 commit into from
Jan 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ subprojects {
set("jacksonVersion", "2.14.1") // https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-annotations
set("jsonSchemaVersion", "1.0.39") // https://mvnrepository.com/artifact/com.kjetland/mbknor-jackson-jsonschema
set("classGraphVersion", "4.8.154") // https://mvnrepository.com/artifact/io.github.classgraph/classgraph
set("kotlinVersion", "1.7.22") // https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-stdlib-common

set("log4jVersion", "2.19.0") // https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core
set("guavaVersion", "31.1-jre") // https://mvnrepository.com/artifact/com.google.guava/guava
Expand All @@ -47,6 +48,7 @@ subprojects {
val junitPioneerVersion: String by extra
val mockitoVersion: String by extra
val hamcrestVersion : String by extra
val kotlinVersion : String by extra

dependencies {
testImplementation("org.creekservice:creek-test-hamcrest:$creekVersion")
Expand All @@ -73,6 +75,13 @@ subprojects {
because("security vulnerabilities found < 2.13.9: " +
"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-36944")
}

// Can be removed once https://github.com/mbknor/mbknor-jackson-jsonSchema/issues/178 is resolved:
if (requested.group == "org.jetbrains.kotlin" && requested.name == "kotlin-scripting-compiler-embeddable") {
useVersion(kotlinVersion)
because("security vulnerabilities found in 1.3.50: " +
"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24329")
}
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion test-types/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ plugins {
val creekVersion : String by extra
val jacksonVersion : String by extra
val jsonSchemaVersion : String by extra
val kotlinVersion : String by extra

dependencies {
implementation("org.creekservice:creek-base-annotation:$creekVersion")
implementation("com.fasterxml.jackson.core:jackson-annotations:$jacksonVersion")
implementation("com.kjetland:mbknor-jackson-jsonschema_2.13:$jsonSchemaVersion")

implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.22")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion")
}