From 0054660728c87484844f2f8daa907c90d7ac13f5 Mon Sep 17 00:00:00 2001 From: Augustyn Date: Sat, 27 Jan 2024 10:40:19 +0100 Subject: [PATCH] chore: upgrade the gradle wrapper. Removed spockframework dependency. --- bom/build.gradle.kts | 7 ------- build.gradle.kts | 6 +++--- gradle/wrapper/gradle-wrapper.properties | 4 ++-- infrastructure/build.gradle.kts | 4 ---- 4 files changed, 5 insertions(+), 16 deletions(-) diff --git a/bom/build.gradle.kts b/bom/build.gradle.kts index 5b963da..003b780 100644 --- a/bom/build.gradle.kts +++ b/bom/build.gradle.kts @@ -8,18 +8,11 @@ plugins { */ dependencies { api(platform(libs.quarkus)) - api(platform(libs.spock.bom)) constraints { api(libs.flyway) api(libs.log4j.api) api(libs.log4j.core) api(libs.commons.lang) - api(libs.spock) - api("org.spockframework:spock-core") - // optional dependencies for using Spock - api("org.hamcrest:hamcrest-core") // only necessary if Hamcrest matchers are used - api("net.bytebuddy:byte-buddy") // allows mocking of classes (in addition to interfaces) - api("org.objenesis:objenesis") // allows mocking of classes without default constructor (together with ByteBuddy or CGLIB) } } diff --git a/build.gradle.kts b/build.gradle.kts index e8912e7..383e1a5 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -31,10 +31,10 @@ allprojects { version = "0.0.5-SNAPSHOT" java { - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 + sourceCompatibility = JavaVersion.VERSION_21 + targetCompatibility = JavaVersion.VERSION_21 toolchain { - languageVersion.set(JavaLanguageVersion.of(JavaVersion.VERSION_17.majorVersion)) + languageVersion.set(JavaLanguageVersion.of(JavaVersion.VERSION_21.majorVersion)) } } tasks.withType { diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index ef2f18c..e8a7e55 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distrubutionSha256Sum=591855b517fc635b9e04de1d05d5e76ada3f89f5fc76f87978d1b245b4f69225 -distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip +distrubutionSha256Sum=9d926787066a081739e8200858338b4a69e837c3a821a33aca9db09dd4a41026 +distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/infrastructure/build.gradle.kts b/infrastructure/build.gradle.kts index c77d47f..6a49925 100644 --- a/infrastructure/build.gradle.kts +++ b/infrastructure/build.gradle.kts @@ -34,10 +34,6 @@ dependencies { implementation(libs.log4j.core) testImplementation("io.quarkus:quarkus-junit5") - testImplementation("io.rest-assured:rest-assured") { - exclude("org.codehaus.groovy") - } - testImplementation(libs.bundles.spock) compileOnly(libs.lombok) annotationProcessor(libs.lombok)