-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathbuild.gradle
58 lines (49 loc) · 1.91 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
buildscript {
ext {
springBootVersion = '2.0.4.RELEASE'
gradleAvroVersion = '0.14.2'
}
repositories {
jcenter()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath "com.commercehub.gradle.plugin:gradle-avro-plugin:${gradleAvroVersion}"
}
}
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: "com.commercehub.gradle.plugin.avro"
group = 'com.mschroeder.kafka.listener'
version = '0.0.1'
sourceCompatibility = 1.8
repositories {
jcenter()
maven {
url "http://packages.confluent.io/maven/"
}
}
dependencies {
compile 'org.springframework.boot:spring-boot-starter'
compile 'org.springframework.boot:spring-boot-starter-data-jpa'
compile 'org.springframework.kafka:spring-kafka'
compile("org.apache.kafka:kafka-clients:${kafka_version}")
compile("org.apache.kafka:kafka-clients:${kafka_version}:test")
compile("org.apache.kafka:kafka-streams:${kafka_streams_version}")
compile("io.confluent:kafka-streams-avro-serde:${avro_serde_version}")
compile "joda-time:joda-time:${joda_version}"
compile "org.apache.avro:avro:${avro_version}"
compile "io.confluent:kafka-avro-serializer:${kafka_avro_version}"
compileOnly "org.projectlombok:lombok:${lombok_version}"
testCompile 'org.springframework.boot:spring-boot-starter-test'
testCompile 'org.springframework.kafka:spring-kafka-test'
testCompile("org.apache.kafka:kafka-streams-test-utils:${kafka_streams_test_utils_version}")
testCompile("org.apache.kafka:kafka_2.11:${kafka_version}")
testCompile("org.apache.kafka:kafka_2.11:${kafka_version}:test")
testCompile group: 'org.spockframework', name: 'spock-core', version: spockframework_version
testCompile group: 'org.spockframework', name: 'spock-spring', version: spockframework_version
testRuntime group: 'com.h2database', name: 'h2'
}