plugins { id 'java' id 'idea' id 'eclipse' id 'jacoco' // for linecoverage id 'nebula.release' version '14.0.3' id 'nebula.maven-publish' version '15.0.3' id 'org.owasp.dependencycheck' version '5.3.0' // checking dependencies for known vulnerabilities id 'io.freefair.lombok' version '4.1.6' } subprojects { apply plugin: 'java' apply plugin: 'idea' apply plugin: 'eclipse' apply plugin: 'jacoco' apply plugin: 'nebula.release' apply plugin: 'nebula.maven-publish' apply plugin: 'io.freefair.lombok' sourceCompatibility = projectSourceCompatibility targetCompatibility = projectSourceCompatibility dependencies { implementation 'org.slf4j:slf4j-api:1.7.30' testImplementation "org.junit.jupiter:junit-jupiter:5.5.2" testImplementation 'org.assertj:assertj-core:3.11.1' } test { useJUnitPlatform() } configurations { developmentOnly runtimeClasspath { extendsFrom developmentOnly } compileOnly { extendsFrom annotationProcessor } } } allprojects { group = projectgroup nebulaRelease { addReleaseBranchPattern(/master/) } repositories { mavenCentral() } dependencyCheck { formats = ['XML', 'HTML'] suppressionFile = "$rootProject.projectDir/gradle/config/suppression.xml" analyzers { assemblyEnabled = false // no warning for .NET in gradle output - we don't use .NET } } clean { delete 'out' } }