subprojects { buildscript { repositories { maven { url("https://plugins.gradle.org/m2/") } } dependencies { classpath 'org.redline-rpm:redline:1.2.10' } } apply plugin: 'java' apply plugin: 'groovy' dependencies { testImplementation 'org.spockframework:spock-core:2.0-groovy-3.0' testImplementation "org.slf4j:slf4j-api:${slf4jVersion}" testImplementation "org.slf4j:slf4j-simple:${slf4jVersion}" implementation "org.slf4j:slf4j-api:${slf4jVersion}" implementation "org.slf4j:slf4j-simple:${slf4jVersion}" implementation 'org.tomlj:tomlj:1.0.0' } repositories { mavenLocal() mavenCentral() } sourceCompatibility = 1.8 targetCompatibility = 1.8 } tasks.create("packages") { group "build" dependsOn ":client:buildDeb" dependsOn ":client:buildRpm" dependsOn ":server:buildDeb" dependsOn ":server:buildRpm" dependsOn ":plugins:buildDeb" dependsOn ":plugins:buildRpm" }