-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
82 lines (65 loc) · 1.75 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
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.springframework.boot:spring-boot-gradle-plugin:2.1.7.RELEASE'
}
}
plugins {
id 'java'
id 'idea'
}
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
repositories {
mavenCentral()
maven {
url 'http://packages.confluent.io/maven/'
}
}
compileJava {
sourceCompatibility = JavaVersion.VERSION_12
targetCompatibility = JavaVersion.VERSION_12
}
test {
exclude '**/*IntegrationTest'
}
task integrationTest(type: Test) {
include '**/*IntegrationTest'
}
test.finalizedBy integrationTest
task sourcesJar(type: Jar, dependsOn: classes) {
archiveClassifier = 'sources'
from sourceSets.main.allSource
}
javadoc {
options.addBooleanOption('html5', true)
}
task javadocJar(type: Jar, dependsOn: javadoc) {
archiveClassifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives sourcesJar
archives javadocJar
}
dependencies {
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.springframework.boot:spring-boot-starter-hateoas'
compile 'org.springframework.boot:spring-boot-starter-actuator'
compile 'org.springframework.kafka:spring-kafka'
compile 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
compile 'io.confluent:kafka-avro-serializer:5.3.0'
testCompile 'org.springframework.boot:spring-boot-starter-test'
testCompile('org.springframework.kafka:spring-kafka-test') {
exclude module: 'log4j'
}
testCompile 'com.github.grantwest.eventually:hamcrest-eventually-matchers:0.0.3'
}
idea {
targetVersion = '19'
}
wrapper {
distributionType = Wrapper.DistributionType.ALL
}