forked from adessoSE/coderadar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
79 lines (66 loc) · 1.9 KB
/
build.gradle
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
apply plugin: 'idea'
ext {
majorVersion = '0'
minorVersion = '2'
patchVersion = '3'
baseVersion = "${majorVersion}.${minorVersion}.${patchVersion}"
}
// import all scripts from ./gradle.d in order of sequence
file('gradle.d').listFiles().sort().each {
if (it =~ /.*\.gradle$/) {
apply from: relativePath(it)
}
}
buildscript {
repositories {
mavenLocal()
jcenter()
maven {
url "https://plugins.gradle.org/m2/"
}
}
}
subprojects {
apply plugin: "idea"
apply plugin: "java"
buildscript {
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:${version_spring_boot}"
classpath "org.asciidoctor:asciidoctor-gradle-plugin:1.5.3"
classpath "org.ajoberstar:gradle-git-publish:2.0.0"
classpath "com.diffplug.spotless:spotless-plugin-gradle:3.17.0"
classpath "com.github.jacobono:gradle-jaxb-plugin:1.3.6"
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3"
}
}
version = project.getBuildVersion(baseVersion)
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
jcenter()
mavenCentral()
mavenLocal()
}
test {
useJUnitPlatform()
}
dependencies {
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: version_junit
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: version_junit
annotationProcessor("org.projectlombok:lombok:$lombok_version")
compileOnly("org.projectlombok:lombok:$lombok_version")
}
}
idea {
project {
vcs = 'Git'
}
}