plugins { id 'org.sonarqube' id 'eclipse' id 'org.owasp.dependencycheck' } allprojects { repositories { mavenLocal() mavenCentral() } apply plugin: 'base' apply plugin: 'java' apply plugin: "org.sonarqube" defaultTasks 'clean', 'build', 'check' clean.doLast { delete('build/') } sourceCompatibility = 1.8 targetCompatibility = 1.8 group = "com.alionscience.erm" version = "5.3.63" tasks.withType(JavaCompile) { options.encoding = 'UTF-8' } } build.dependsOn clean subprojects { apply from: "$rootProject.projectDir/test.gradle" task('pr') { dependsOn integrationTest finalizedBy ':ui:e2e' finalizedBy ':ui:jasmineTest' } def guava = '29.0-jre' def slf4j = '1.7.30' dependencies { implementation("org.slf4j:slf4j-api:${slf4j}") implementation("com.google.guava:guava:${guava}") } } sonarqube { properties { property "sonar.projectName", "ERM" property "sonar.projectKey", "drms" } }