From 51e8dbdbeba2047385b8b1c9475322fc04c1d0f3 Mon Sep 17 00:00:00 2001 From: Jonah Bauer Date: Tue, 14 Dec 2021 09:03:10 +0100 Subject: [PATCH] Updated Dependencies --- build.gradle.kts | 15 +++++++++++++++ buildSrc/src/main/kotlin/Dependencies.kt | 4 ++-- wizard-server/build.gradle.kts | 2 ++ 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index dc12f58..ade53f2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,5 +1,16 @@ +buildscript { + repositories { + mavenCentral() + } + + dependencies { + classpath("org.owasp:dependency-check-gradle:6.5.0.1") + } +} + subprojects { apply(plugin = "java-library") + apply(plugin = "org.owasp.dependencycheck") group = "eu.jonahbauer" version = "1.0-SNAPSHOT" @@ -52,5 +63,9 @@ subprojects { named("test") { useJUnitPlatform() } + + named("check") { + dependsOn("dependencyCheckAnalyze") + } } } \ No newline at end of file diff --git a/buildSrc/src/main/kotlin/Dependencies.kt b/buildSrc/src/main/kotlin/Dependencies.kt index 424f29e..e21b59d 100644 --- a/buildSrc/src/main/kotlin/Dependencies.kt +++ b/buildSrc/src/main/kotlin/Dependencies.kt @@ -1,7 +1,7 @@ @file:Suppress("MemberVisibilityCanBePrivate") object Log4j2 { - const val version = "2.14.1" + const val version = "2.15.0" const val group = "org.apache.logging.log4j" const val api = "$group:log4j-api:$version" @@ -86,7 +86,7 @@ object JavaWebSocket { } object SpringBoot { - const val version = "2.5.6" + const val version = "2.6.1" const val group = "org.springframework.boot" const val plugin = group const val starterWebsocket = "$group:spring-boot-starter-websocket" diff --git a/wizard-server/build.gradle.kts b/wizard-server/build.gradle.kts index 0263dd9..b00050a 100644 --- a/wizard-server/build.gradle.kts +++ b/wizard-server/build.gradle.kts @@ -5,6 +5,8 @@ plugins { id("war") } +extra["log4j2.version"] = "2.15.0" + dependencies { implementation(project(":wizard-core")) implementation(project(":wizard-common"))