From 034fea4284bc20bf2ce6db6dd82e0be5a2303a45 Mon Sep 17 00:00:00 2001 From: Timo Bejan Date: Wed, 25 Sep 2024 14:00:54 +0300 Subject: [PATCH] Updated to latest tenant-commons --- .gitignore | 1 + build.gradle.kts | 8 +++----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 65f2916..04dacd1 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,4 @@ gradle/ **/.gradle **/build +.DS_Store diff --git a/build.gradle.kts b/build.gradle.kts index dc38039..4a1b909 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,7 +1,6 @@ plugins { `java-library` `maven-publish` - `kotlin-dsl` pmd checkstyle jacoco @@ -12,12 +11,11 @@ plugins { val springVersion = "3.2.2"; dependencies { - api("com.knecon.fforesight:tenant-commons:0.26.0") + api("com.knecon.fforesight:tenant-commons:0.31.0") api("org.springframework.boot:spring-boot-starter-oauth2-resource-server:${springVersion}") api("org.springframework.boot:spring-boot-starter-security:${springVersion}") api("org.springframework.boot:spring-boot-starter-web:${springVersion}") api("org.springframework.boot:spring-boot-configuration-processor:${springVersion}") - api("org.projectlombok:lombok:1.18.30") testImplementation("org.springframework.boot:spring-boot-starter-test:${springVersion}") } @@ -81,7 +79,7 @@ tasks.named("test") { sonarqube { properties { - property("sonar.login", providers.gradleProperty("sonarToken").getOrNull()) + providers.gradleProperty("sonarToken").getOrNull()?.let { property("sonar.login", it) } property("sonar.host.url", "https://sonarqube.knecon.com") } } @@ -101,4 +99,4 @@ tasks.jacocoTestReport { java { withJavadocJar() -} \ No newline at end of file +}