-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
52 lines (45 loc) · 1.36 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
plugins {
id 'org.springframework.boot' version '2.7.0'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
id 'com.github.davidmc24.gradle.plugin.avro' version '1.3.0'
}
group = 'com.vins.example.kstream'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
maven {
url("https://packages.confluent.io/maven/")
}
}
ext {
set('springCloudVersion', "2021.0.3")
set('confluentVersion', "7.1.1")
set('avroVersion', "1.11.0")
}
dependencies {
implementation 'org.springframework.cloud:spring-cloud-stream'
implementation 'org.apache.kafka:kafka-streams'
implementation 'org.springframework.cloud:spring-cloud-stream-binder-kafka-streams'
implementation 'org.springframework.cloud:spring-cloud-stream-binder-kafka'
implementation "io.confluent:kafka-avro-serializer:${confluentVersion}"
implementation "io.confluent:kafka-streams-avro-serde:${confluentVersion}"
implementation "org.apache.avro:avro:${avroVersion}"
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
tasks.named('test') {
useJUnitPlatform()
}