diff --git a/test_runner/build.gradle.kts b/test_runner/build.gradle.kts index 33deaedccf..fefb7b898b 100644 --- a/test_runner/build.gradle.kts +++ b/test_runner/build.gradle.kts @@ -27,10 +27,24 @@ shadowJar.apply { archiveClassifier.set("") archiveBaseName.set(artifactID) mergeServiceFiles() + minimize { + exclude(dependency(Libs.KOTLIN_REFLECT)) + exclude(dependency(Libs.JACKSON_XML)) + exclude(dependency(Libs.JACKSON_DATABIND)) + exclude(dependency(Libs.JACKSON_KOTLIN)) + exclude(dependency(Libs.JACKSON_YAML)) + exclude(dependency(Libs.GSON)) + } @Suppress("UnstableApiUsage") manifest { attributes(mapOf("Main-Class" to "ftl.Main")) } + dependencies { + exclude(dependency(Libs.TRUTH)) + exclude(dependency(Libs.MOCKK)) + exclude(dependency(Libs.JUNIT)) + exclude(dependency(Libs.DETEKT_FORMATTING)) + } } // https://bintray.com/flank/maven