From 21551b119cb78342a5293baee1eaa1ef72400dd6 Mon Sep 17 00:00:00 2001 From: Graham Date: Sat, 2 May 2020 10:20:46 +0100 Subject: [PATCH] Add kotlin-reflect dependency It is required by Jackson. Signed-off-by: Graham --- all/build.gradle.kts | 4 +++- build.gradle.kts | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/all/build.gradle.kts b/all/build.gradle.kts index c363e4cfaa..c496ed69dc 100644 --- a/all/build.gradle.kts +++ b/all/build.gradle.kts @@ -24,7 +24,9 @@ dependencies { } tasks.shadowJar { - minimize() + minimize { + exclude(dependency("org.jetbrains.kotlin:kotlin-reflect")) + } } licenseReport { diff --git a/build.gradle.kts b/build.gradle.kts index eb0cfac239..6f88b31cad 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -101,6 +101,7 @@ configure(subprojects.filter { it.free }) { api(kotlin("stdlib-jdk8")) val implementation by configurations + implementation(kotlin("reflect")) implementation("com.michael-bull.kotlin-inline-logger:kotlin-inline-logger:${Versions.inlineLogger}") val testImplementation by configurations