diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d898c5..8907da9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. ## [[NEXT]](https://github.com/iExecBlockchainComputing/tee-worker-pre-compute/releases/tag/vNEXT) 2025 +### Dependency Upgrades + +- Upgrade to `eclipse-temurin:17.0.13_11-jre-focal`. (#95) +- Upgrade to Spring Boot 3.0.13. (#95) + ## [[8.6.0]](https://github.com/iExecBlockchainComputing/tee-worker-pre-compute/releases/tag/v8.6.0) 2024-12-20 ### New Features diff --git a/Dockerfile b/Dockerfile index 8799c8b..34f2dad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM eclipse-temurin:11.0.24_8-jre-focal +FROM eclipse-temurin:17.0.13_11-jre-focal ARG jar diff --git a/build.gradle b/build.gradle index ef84155..4d55ed9 100644 --- a/build.gradle +++ b/build.gradle @@ -21,7 +21,7 @@ ext { ociImageName = ociImageBase + ':dev' ociTeeImageName = ociImageBase + '-unlocked:dev' jarPathForOCI = relativePath(tasks.shadowJar.outputs.files.singleFile) - mockitoVersion = '4.4.0' + springBootVersion = '3.0.13' systemStubsVersion = '2.0.1' } @@ -50,20 +50,22 @@ repositories { } dependencies { + implementation platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") + // iexec implementation "com.iexec.commons:iexec-commons-poco:$iexecCommonsPocoVersion" implementation "com.iexec.common:iexec-common:$iexecCommonVersion" // apache commons.lang3 - implementation 'org.apache.commons:commons-lang3:3.12.0' + implementation 'org.apache.commons:commons-lang3' } java { toolchain { languageVersion.set(JavaLanguageVersion.of(17)) } - sourceCompatibility = "11" - targetCompatibility = "11" + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } tasks.withType(Tar).configureEach { @@ -75,13 +77,10 @@ testing { test { useJUnitJupiter() dependencies { - implementation 'org.junit.jupiter:junit-jupiter:5.7.0' - implementation 'org.assertj:assertj-core:3.18.1' + implementation 'org.assertj:assertj-core' + implementation "org.mockito:mockito-junit-jupiter" implementation "uk.org.webcompere:system-stubs-core:$systemStubsVersion" // activates env var setting implementation "uk.org.webcompere:system-stubs-jupiter:$systemStubsVersion" // activates env var setting - implementation "org.mockito:mockito-core:$mockitoVersion" - implementation "org.mockito:mockito-junit-jupiter:$mockitoVersion" - implementation "org.mockito:mockito-inline:$mockitoVersion" // activates mocking final classes/methods } } } diff --git a/gradle.properties b/gradle.properties index 2c43529..d880068 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ version=8.6.0 -iexecCommonVersion=8.6.0 -iexecCommonsPocoVersion=4.2.0 +iexecCommonVersion=8.6.0-NEXT-SNAPSHOT +iexecCommonsPocoVersion=4.2.0-NEXT-SNAPSHOT nexusUser nexusPassword