@@ -4,18 +4,19 @@ plugins {
44 id " maven-publish"
55 id " jacoco"
66 id " com.github.hierynomus.license" version " 0.16.1"
7- id " org.sonarqube" version " 4.4 .1.3373 "
8- id " io.github.gradle-nexus.publish-plugin" version " 1.3 .0"
9- id " com.github.ben-manes.versions" version " 0.48 .0"
10- id " org.sonatype.gradle.plugins.scan" version " 2.6.1 "
7+ id " org.sonarqube" version " 6.0 .1.5171 "
8+ id " io.github.gradle-nexus.publish-plugin" version " 2.0 .0"
9+ id " com.github.ben-manes.versions" version " 0.51 .0"
10+ id " org.sonatype.gradle.plugins.scan" version " 2.8.3 "
1111}
1212
13- group ' com.github.kaklakariada'
13+ group = ' com.github.kaklakariada'
1414version = ' 1.7.0'
1515
1616java {
1717 toolchain {
18- languageVersion = JavaLanguageVersion . of(11 )
18+ def javaVersion = project. hasProperty(' javaVersion' ) ? project. getProperty(' javaVersion' ) : 11
19+ languageVersion = JavaLanguageVersion . of(javaVersion)
1920 }
2021 withJavadocJar()
2122 withSourcesJar()
@@ -40,15 +41,14 @@ testing {
4041}
4142
4243dependencies {
43- implementation ' com.squareup.okhttp3:okhttp:4.11.0'
44- implementation ' com.squareup.okio:okio:3.6.0' // Fix CVE-2023-3635
44+ implementation ' com.squareup.okhttp3:okhttp:4.12.0'
4545 implementation ' com.subshell.simpleframework:simple-xml:2.9.0'
46- implementation ' org.slf4j:slf4j-api:2.0.9 '
46+ implementation ' org.slf4j:slf4j-api:2.0.16 '
4747
48- testRuntimeOnly ' ch.qos.logback:logback-classic:1.4.11 '
48+ testRuntimeOnly ' ch.qos.logback:logback-classic:1.5.15 '
4949
50- testImplementation ' org.mockito:mockito-core:5.6.0 '
51- testImplementation ' org.assertj:assertj-core:3.24.2 '
50+ testImplementation ' org.mockito:mockito-core:5.14.2 '
51+ testImplementation ' org.assertj:assertj-core:3.27.0 '
5252}
5353
5454license {
0 commit comments