diff --git a/all/build.gradle.kts b/all/build.gradle.kts index c363e4cf..c496ed69 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 eb0cfac2..6f88b31c 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