2021-05-01 12:44:55 +00:00
|
|
|
subprojects {
|
2021-05-21 09:08:43 +00:00
|
|
|
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
maven { url("https://plugins.gradle.org/m2/") }
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath 'org.redline-rpm:redline:1.2.9'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-01 12:44:55 +00:00
|
|
|
apply plugin: 'java'
|
2021-05-04 15:54:47 +00:00
|
|
|
apply plugin: 'groovy'
|
2021-05-01 12:44:55 +00:00
|
|
|
|
|
|
|
dependencies {
|
2021-05-21 09:08:43 +00:00
|
|
|
testImplementation 'org.spockframework:spock-core:2.0-groovy-3.0'
|
2021-05-04 15:54:47 +00:00
|
|
|
testImplementation "org.slf4j:slf4j-api:${slf4jVersion}"
|
2021-05-28 06:19:49 +00:00
|
|
|
testImplementation "org.slf4j:slf4j-simple:${slf4jVersion}"
|
2021-05-04 15:54:47 +00:00
|
|
|
|
|
|
|
implementation "org.slf4j:slf4j-api:${slf4jVersion}"
|
|
|
|
implementation "org.slf4j:slf4j-simple:${slf4jVersion}"
|
2021-05-01 12:44:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
2021-05-04 15:54:47 +00:00
|
|
|
sourceCompatibility = 1.8
|
|
|
|
targetCompatibility = 1.8
|
|
|
|
}
|
2021-05-13 17:28:31 +00:00
|
|
|
|
|
|
|
tasks.create("packages") {
|
|
|
|
group "build"
|
|
|
|
|
|
|
|
dependsOn ":client:buildDeb"
|
|
|
|
dependsOn ":client:buildRpm"
|
|
|
|
|
|
|
|
dependsOn ":server:buildDeb"
|
|
|
|
dependsOn ":server:buildRpm"
|
|
|
|
|
|
|
|
dependsOn ":plugins:buildDeb"
|
|
|
|
dependsOn ":plugins:buildRpm"
|
|
|
|
|
|
|
|
}
|