apply plugin: 'io.spring.convention.bom' sonarqube.skipProject = true project.rootProject.allprojects.each { p -> p.plugins.withType(io.spring.gradle.convention.SpringMavenPlugin) { if (!project.name.equals(p.name)) { project.mavenBom.projects.add(p) } } }