-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbuild.gradle
42 lines (33 loc) · 916 Bytes
/
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
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.51"
}
}
apply plugin: "java"
apply plugin: "kotlin"
// $ gradle classes
sourceCompatibility = 1.8
repositories {
mavenCentral()
maven { url 'https://packages.confluent.io/maven/' }
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.2.51"
// logging
compile 'org.slf4j:slf4j-api:1.7.25'
compile 'org.slf4j:slf4j-log4j12:1.7.25'
// JSON serialization
compile 'com.fasterxml.jackson.core:jackson-databind:2.9.6'
compile 'com.fasterxml.jackson.module:jackson-module-kotlin:2.9.6'
// Kafka
compile 'org.apache.kafka:kafka-streams:2.0.0'
compile 'io.confluent:kafka-streams-avro-serde:5.0.0'
}
jar {
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}