Skip to content

Commit

Permalink
update dependency versions and move junit to testImplementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Vakhtang Donadze authored and vdonadze committed Jun 29, 2023
1 parent 4e4d7f8 commit b87b2a4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
19 changes: 12 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@ plugins {

ext {
kotlin_logging_version = '2.0.10'
fabric8_version = '6.4.1'
jackson_module_kotlin_version = '2.14.2'
fabric8_version = '6.6.2'
jackson_databind_version = '2.15.2'
infra_repo_version = "1.2.4"
resource_model_version = '1.3.3'
slf4j_api_version = '2.0.5'
slf4j2_impl_version = '2.19.0'
junit_jupiter_version = '5.9.2'
commons_text_version = '1.10.0'
okhttp_version = '4.10.0'
snakeyaml_version = '2.0'
sharedDir = file("${project.rootDir}/shared")
}

Expand Down Expand Up @@ -53,14 +54,18 @@ repositories {
}
}

configurations.configureEach() {
resolutionStrategy {
force "org.yaml:snakeyaml:$snakeyaml_version"
force "com.fasterxml.jackson.core:jackson-databind:$jackson_databind_version"
}
}

dependencies {
implementation("io.micronaut:micronaut-http-server-netty")

implementation "io.fabric8:kubernetes-client:${fabric8_version}"

// TODO only used to avoid vulnerability, can be removed once fabric8 is updated
implementation "com.squareup.okhttp3:okhttp:${okhttp_version}"

implementation "org.slf4j:slf4j-api:$slf4j_api_version"
implementation "org.apache.logging.log4j:log4j-slf4j2-impl:$slf4j2_impl_version"
implementation "org.apache.logging.log4j:log4j-core:$slf4j2_impl_version"
Expand All @@ -73,9 +78,9 @@ dependencies {
implementation group: 'io.github.microutils', name: 'kotlin-logging', version: kotlin_logging_version

implementation "org.apache.commons:commons-text:$commons_text_version"
implementation group: 'com.fasterxml.jackson.module', name: 'jackson-module-kotlin', version: jackson_module_kotlin_version
implementation "org.junit.jupiter:junit-jupiter:$junit_jupiter_version"
implementation group: 'com.fasterxml.jackson.module', name: 'jackson-module-kotlin', version: jackson_databind_version

testImplementation "org.junit.jupiter:junit-jupiter:$junit_jupiter_version"
testImplementation "org.junit.jupiter:junit-jupiter:$junit_jupiter_version"
testImplementation group: 'org.jetbrains.kotlin', name: 'kotlin-test-junit5', version: kotlin_version

Expand Down
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
# limitations under the License.
#

release_version=1.3.5
release_version=1.3.6
description = 'cr schema converter'

kotlin.code.style=official
kotlin_version=1.6.21
kotlin_detekt_version=1.22.0

micronautVersion=3.8.5
micronautAppPluginVersion=3.7.2
owaspVersion = 8.1.2
micronautVersion=3.9.4
micronautAppPluginVersion=3.7.10
owaspVersion = 8.3.1

vcs_url=https://github.com/th2-net/th2-cr-converter

0 comments on commit b87b2a4

Please sign in to comment.