-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
59 lines (49 loc) · 1.31 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
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.5.4.RELEASE")
}
}
plugins {
id 'org.springframework.boot' version '1.5.4.RELEASE'
}
apply plugin: 'application'
apply plugin: 'pmd'
repositories {
mavenCentral();
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
run {
if (project.hasProperty("appArgs")) {
args Eval.me(appArgs)
}
}
pmd {
ignoreFailures=false
pmdTest.enabled=false
consoleOutput=true
reportsDir = file("$project.buildDir/reports/pmd")
ruleSets = [
"java-basic",
"java-braces",
"java-strings",
"java-imports",
"java-unusedcode",
"java-codesize"
]
}
dependencies {
compile group: 'com.sun.codemodel', name: 'codemodel', version: '2.6'
compile 'org.yaml:snakeyaml:1.18'
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.6'
compile("org.springframework.boot:spring-boot-autoconfigure")
compile("org.springframework:spring-webmvc")
compile group: 'javax.persistence', name: 'persistence-api', version: '1.0.2'
compile("org.springframework.data:spring-data-jpa")
compile 'org.projectlombok:lombok:1.18.10'
annotationProcessor 'org.projectlombok:lombok:1.18.10'
}
mainClassName='com.mrbhatt.Main'