github.com/ouraigua/jenkins-library@v0.0.0-20231028010029-fbeaf2f3aa9b/integration/testdata/TestGradleIntegration/java-project-with-bom-plugin/build.gradle (about) 1 plugins { 2 id 'org.springframework.boot' version '2.6.5-SNAPSHOT' 3 id 'io.spring.dependency-management' version '1.0.11.RELEASE' 4 id 'java' 5 id "org.cyclonedx.bom" version "1.7.0" 6 } 7 8 group = 'com.example' 9 version = '0.0.1-SNAPSHOT' 10 sourceCompatibility = '11' 11 12 repositories { 13 mavenCentral() 14 maven { url 'https://repo.spring.io/milestone' } 15 maven { url 'https://repo.spring.io/snapshot' } 16 } 17 18 dependencies { 19 implementation 'org.springframework.boot:spring-boot-starter-web' 20 implementation 'org.springframework.boot:spring-boot-starter-webflux' 21 testImplementation 'org.springframework.boot:spring-boot-starter-test' 22 testImplementation 'io.projectreactor:reactor-test' 23 } 24 25 tasks.named('test') { 26 useJUnitPlatform() 27 } 28 29 cyclonedxBom { 30 outputName = "bom-gradle" 31 outputFormat = "xml" 32 schemaVersion = "1.4" 33 }