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 {
|
2021-08-23 09:07:07 +00:00
|
|
|
classpath 'org.redline-rpm:redline:1.2.10'
|
2021-05-21 09:08:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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 {
|
2022-09-23 12:49:13 +00:00
|
|
|
testImplementation "org.spockframework:spock-core:${spockVersion}"
|
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}"
|
2022-10-24 13:28:20 +00:00
|
|
|
implementation "org.tomlj:tomlj:${tomljVersion}"
|
2021-05-01 12:44:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
2023-01-04 13:44:42 +00:00
|
|
|
java {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
2021-05-04 15:54:47 +00:00
|
|
|
}
|
2021-05-13 17:28:31 +00:00
|
|
|
|
2023-01-04 13:44:42 +00:00
|
|
|
tasks.register("packages") {
|
2021-05-13 17:28:31 +00:00
|
|
|
group "build"
|
|
|
|
|
|
|
|
dependsOn ":client:buildDeb"
|
|
|
|
dependsOn ":client:buildRpm"
|
|
|
|
|
|
|
|
dependsOn ":server:buildDeb"
|
|
|
|
dependsOn ":server:buildRpm"
|
|
|
|
|
|
|
|
dependsOn ":plugins:buildDeb"
|
|
|
|
dependsOn ":plugins:buildRpm"
|
|
|
|
}
|