This repository was archived by the owner on Mar 10, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathbuild.gradle
More file actions
41 lines (36 loc) · 1.3 KB
/
build.gradle
File metadata and controls
41 lines (36 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
buildscript {
ext {
novaVersion = '3.0.2'
freefairVersion = '6.2.0'
springBootVersion = '2.6.1'
springDocVersion = '1.5.10'
}
}
plugins {
id 'base'
id 'io.freefair.git-version' version "${freefairVersion}"
id 'io.freefair.aggregate-javadoc' version "${freefairVersion}"
id 'io.freefair.javadoc-utf-8' version "${freefairVersion}"
id 'io.freefair.lombok' version "${freefairVersion}" apply(false)
id 'com.github.spotbugs' version '4.7.5' apply(false)
id 'org.springframework.boot' version "${springBootVersion}" apply false
id 'io.spring.dependency-management' version '1.0.11.RELEASE' apply false
id 'com.github.johnrengelman.shadow' version '7.1.2' apply false
}
if (version.toString().endsWith('SNAPSHOT') || version.toString().isBlank()) {
version = 'edge'
} else if (version.toString().startsWith('v')) {
version = version.toString().substring(1)
}
allprojects {
group 'net.cryptic-game'
}
subprojects {
version rootProject.version
apply from: "${rootDir}/gradle/java.gradle"
apply from: "${rootDir}/gradle/test.gradle"
apply from: "${rootDir}/gradle/checkstyle.gradle"
apply from: "${rootDir}/gradle/spotbugs.gradle"
apply from: "${rootDir}/gradle/pmd.gradle"
apply from: "${rootDir}/gradle/javadoc.gradle"
}