Skip to content

Commit

Permalink
build: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
szysas committed Sep 25, 2024
1 parent 6898674 commit f77f07f
Show file tree
Hide file tree
Showing 12 changed files with 52 additions and 46 deletions.
5 changes: 3 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
id("se.patrikerdes.use-latest-versions") version "0.2.18"
id("com.github.ben-manes.versions") version "0.51.0"
id("pmd")
id("com.github.spotbugs") version "6.0.19"
id("com.github.spotbugs") version "6.0.23"
id("org.gradle.signing")
id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
id("com.adarshr.test-logger") version "4.0.0"
Expand Down Expand Up @@ -38,7 +38,8 @@ allprojects {
val isNonStable = !(stableKeyword || regex.matches(candidate.version))

// newer version of logback-classic is not java8 compatible
isNonStable || listOf("logback-classic", "mockito-core").contains(candidate.module)
// newer version of kewt-versioning plugin requires java 21
isNonStable || listOf("logback-classic", "mockito-core", "com.github.mfarsikov.kewt-versioning.gradle.plugin").contains(candidate.module)
}
}

Expand Down
8 changes: 4 additions & 4 deletions coap-cli/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ dependencies {
implementation(project(":coap-tcp"))
implementation(project(":lwm2m"))
implementation(project(":coap-mbedtls"))
implementation("org.slf4j:slf4j-api:2.0.13")
implementation("org.slf4j:slf4j-api:2.0.16")
implementation("ch.qos.logback:logback-classic:1.3.14")
implementation("info.picocli:picocli:4.7.6")

testImplementation("org.mockito:mockito-core:4.11.0")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.3")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.3")
testImplementation("org.awaitility:awaitility:4.2.1")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.11.1")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.11.1")
testImplementation("org.awaitility:awaitility:4.2.2")
testImplementation(testFixtures(project(":coap-core")))
}

Expand Down
10 changes: 5 additions & 5 deletions coap-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ plugins {
description = "coap-core"

dependencies {
api("org.slf4j:slf4j-api:2.0.13")
api("org.slf4j:slf4j-api:2.0.16")

testFixturesApi("org.junit.jupiter:junit-jupiter-api:5.10.3")
testFixturesApi("org.junit.jupiter:junit-jupiter-api:5.11.1")
testFixturesApi("org.assertj:assertj-core:3.26.3")
testFixturesApi("org.awaitility:awaitility:4.2.1")
testFixturesApi("org.awaitility:awaitility:4.2.2")

testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.3")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.11.1")
testImplementation("ch.qos.logback:logback-classic:1.3.14")
testImplementation("org.mockito:mockito-core:4.11.0")
testImplementation("nl.jqno.equalsverifier:equalsverifier:3.16.1")
testImplementation("nl.jqno.equalsverifier:equalsverifier:3.17")
testImplementation("io.github.artsok:rerunner-jupiter:2.1.6")

jmh("org.openjdk.jmh:jmh-core:1.37")
Expand Down
8 changes: 4 additions & 4 deletions coap-mbedtls/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ dependencies {
testImplementation(project(":coap-netty"))

testImplementation(testFixtures(project(":coap-core")))
testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.3")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.3")
testImplementation("io.netty:netty-transport-native-epoll:4.1.112.Final:linux-x86_64")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.11.1")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.11.1")
testImplementation("io.netty:netty-transport-native-epoll:4.1.113.Final:linux-x86_64")
testImplementation("ch.qos.logback:logback-classic:1.3.14")
testImplementation("org.awaitility:awaitility:4.2.1")
testImplementation("org.awaitility:awaitility:4.2.2")
}
6 changes: 3 additions & 3 deletions coap-metrics/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ description = "coap-metrics"
dependencies {
api(project(":coap-core"))

implementation("io.micrometer:micrometer-core:1.13.2")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.3")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.3")
implementation("io.micrometer:micrometer-core:1.13.4")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.11.1")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.11.1")
testImplementation(testFixtures(project(":coap-core")))
}
10 changes: 5 additions & 5 deletions coap-netty/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ description = "coap-netty"

dependencies {
api(project(":coap-core"))
api("io.netty:netty-handler:4.1.112.Final")
api("io.netty:netty-handler:4.1.113.Final")

testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.3")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.3")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.11.1")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.11.1")

testImplementation(testFixtures(project(":coap-core")))
testImplementation("ch.qos.logback:logback-classic:1.3.14")
testImplementation("io.netty:netty-transport-native-epoll:4.1.112.Final:linux-x86_64")
testImplementation("io.netty:netty-transport-native-epoll:4.1.113.Final:linux-x86_64")

jmhImplementation("io.netty:netty-all:4.1.112.Final")
jmhImplementation("io.netty:netty-all:4.1.113.Final")
jmh("org.openjdk.jmh:jmh-core:1.37")
jmh("org.openjdk.jmh:jmh-generator-bytecode:1.37")
}
Expand Down
10 changes: 5 additions & 5 deletions coap-tcp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ description = "coap-tcp"

dependencies {
api(project(":coap-core"))
api("org.slf4j:slf4j-api:2.0.13")
api("org.slf4j:slf4j-api:2.0.16")

testImplementation(testFixtures(project(":coap-core")))

testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.3")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.3")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.11.1")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.11.1")
testImplementation("ch.qos.logback:logback-classic:1.3.14")
testImplementation("org.mockito:mockito-core:4.11.0")
testImplementation("org.assertj:assertj-core:3.26.3")
testImplementation("nl.jqno.equalsverifier:equalsverifier:3.16.1")
testImplementation("org.awaitility:awaitility:4.2.1")
testImplementation("nl.jqno.equalsverifier:equalsverifier:3.17")
testImplementation("org.awaitility:awaitility:4.2.2")
}
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
7 changes: 5 additions & 2 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#

##############################################################################
#
Expand Down Expand Up @@ -55,7 +57,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
Expand Down Expand Up @@ -84,7 +86,8 @@ done
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
' "$PWD" ) || exit

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
Expand Down
22 changes: 12 additions & 10 deletions gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
@rem SPDX-License-Identifier: Apache-2.0
@rem

@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
Expand Down Expand Up @@ -43,11 +45,11 @@ set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if %ERRORLEVEL% equ 0 goto execute

echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
echo. 1>&2
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2

goto fail

Expand All @@ -57,11 +59,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe

if exist "%JAVA_EXE%" goto execute

echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
echo. 1>&2
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2

goto fail

Expand Down
10 changes: 5 additions & 5 deletions lwm2m/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ description = "lwm2m"

dependencies {
api("com.google.code.gson:gson:2.11.0")
api("org.slf4j:slf4j-api:2.0.13")
api("org.slf4j:slf4j-api:2.0.16")

testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.3")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.3")
testImplementation("commons-io:commons-io:2.16.1")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.11.1")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.11.1")
testImplementation("commons-io:commons-io:2.17.0")
testImplementation("ch.qos.logback:logback-classic:1.3.14")
testImplementation("org.mockito:mockito-core:4.11.0")
testImplementation("org.hamcrest:hamcrest-all:1.3")
testImplementation("nl.jqno.equalsverifier:equalsverifier:3.16.1")
testImplementation("nl.jqno.equalsverifier:equalsverifier:3.17")
}

0 comments on commit f77f07f

Please sign in to comment.