-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
95 lines (76 loc) · 2.58 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.5.9.RELEASE")
}
}
plugins {
id "org.sonarqube" version "2.5"
}
apply plugin: 'jacoco'
apply plugin: 'java'
apply plugin: 'pmd'
pmd {
toolVersion='5.5.2'
ruleSets=["java-basic","java-imports","java-strings","java-clone","java-design"]
}
apply plugin: 'findbugs'
findbugs {
sourceSets = [sourceSets.main]
toolVersion = "3.0.1"
}
apply plugin: 'eclipse'
apply plugin: 'idea'
group = 'com.github.maxamel'
version = '0.0.1'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'org.springframework.boot'
repositories {
mavenCentral()
maven { url "https://oss.sonatype.org/content/groups/public" }
}
dependencies {
compile('org.springframework.boot:spring-boot-devtools')
compile('org.springframework.cloud:spring-cloud-starter-config')
compile('org.springframework.boot:spring-boot-starter-actuator')
compile('org.springframework.boot:spring-boot-starter-web')
compile('org.springframework.boot:spring-boot-starter-data-jpa')
compile('org.springframework.boot:spring-boot-starter-security')
compile ('org.springframework.boot:spring-boot-starter-jdbc')
compile ('org.springframework:spring-context')
compile('com.github.rozidan:levelog-spring-boot:1.0.0-SNAPSHOT')
compile('com.github.rozidan:modelmapper-spring-boot-starter:1.0.1-SNAPSHOT')
compile('com.github.rozidan:logger-spring-boot:1.0.0-SNAPSHOT')
compile('org.springframework.kafka:spring-kafka')
compile('org.apache.kafka:kafka_2.11:1.0.0'){
exclude group: "org.slf4j"
}
compile('com.101tec:zkclient:0.7'){
exclude group: "org.slf4j"
}
compile('org.springframework.kafka:spring-kafka-test:2.1.2.RELEASE')
compile('org.toile-libre.libe:curl:0.0.13')
compile('org.mockito:mockito-all:1.10.19')
compile('io.springfox:springfox-swagger2:2.7.0')
compile('org.flywaydb:flyway-core')
compileOnly('org.projectlombok:lombok')
runtime('com.h2database:h2')
testCompile('org.springframework.boot:spring-boot-starter-test')
}
sourceCompatibility = JavaVersion.VERSION_1_8
jar {
manifest {
attributes("Implementation-Title": project.name,
"Implementation-Version": project.version)
}
}
dependencyManagement {
imports {
mavenBom("org.springframework.cloud:spring-cloud-dependencies:Edgware.RELEASE")
}
dependencies {
dependency 'com.google.guava:guava:23.5-jre'
}
}