diff --git a/build.gradle.kts b/build.gradle.kts index 8a4b2064..65a9cf25 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -136,6 +136,11 @@ tasks.withType { useJUnitPlatform() } +tasks.cyclonedxBom { + setIncludeConfigs(listOf("runtimeClasspath")) + setSkipConfigs(listOf("compileClasspath", "testCompileClasspath")) +} + extensions.findByName("buildScan")?.withGroovyBuilder { setProperty("termsOfServiceUrl", "https://gradle.com/terms-of-service") setProperty("termsOfServiceAgree", "yes")