From 364bf280b08f8ce1edd1b0353e192c9a59fdc2e9 Mon Sep 17 00:00:00 2001 From: Divyank-Lakhera Date: Fri, 23 Feb 2024 02:26:33 -0500 Subject: [PATCH 1/2] upgrade keycloak client and gradle --- build.gradle | 10 +++++----- gradle.properties | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index c693903..18b4cba 100644 --- a/build.gradle +++ b/build.gradle @@ -17,7 +17,7 @@ buildscript { } plugins { - id 'com.github.johnrengelman.shadow' version '6.1.0' + id 'com.github.johnrengelman.shadow' version '8.0.0' id 'org.ajoberstar.grgit' version '3.1.1' } @@ -43,8 +43,8 @@ subprojects { } group "io.pravega" - sourceCompatibility = '1.8' + sourceCompatibility = 17 // Creates a Jar with Java source files task sourceJar(type: Jar) { @@ -53,7 +53,7 @@ subprojects { } task javadocJar(type: Jar) { - classifier = 'javadoc' + archiveClassifier = 'javadoc' from javadoc.destinationDir } @@ -63,8 +63,8 @@ subprojects { jacocoTestReport { reports { - xml.enabled true - html.enabled false + xml.required = true + html.required = false } } check.dependsOn jacocoTestReport diff --git a/gradle.properties b/gradle.properties index e4ab406..d77439b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -12,7 +12,7 @@ guavaVersion=28.2-jre junitVersion=4.13.2 -keycloakVersion=21.1.2 +keycloakVersion=23.0.4 mockitoVersion=3.3.3 pravegaVersion=0.12.0 slf4jVersion=1.7.30 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index da9702f..17655d0 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.8-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists From d1680e2f3191219f890c2aeff32c2ff0fd4c5290 Mon Sep 17 00:00:00 2001 From: Divyank-Lakhera Date: Mon, 26 Feb 2024 07:14:02 -0500 Subject: [PATCH 2/2] change java version to 11 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 18b4cba..ea8efd4 100644 --- a/build.gradle +++ b/build.gradle @@ -44,7 +44,7 @@ subprojects { group "io.pravega" - sourceCompatibility = 17 + sourceCompatibility = 11 // Creates a Jar with Java source files task sourceJar(type: Jar) {