-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
46 lines (38 loc) · 1.11 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
plugins {
id 'java'
id 'application'
id("com.github.johnrengelman.shadow") version "7.1.2" //"8.1.1"
}
application {
mainClassName = 'io.confluent.cse.test.TestJavaClient'
}
version = '1.0'
repositories {
mavenCentral()
maven {
url "https://packages.confluent.io/maven"
}
}
dependencies {
implementation 'ch.qos.logback:logback-classic:1.5.0'
implementation group: 'org.apache.kafka', name: 'kafka-clients', version: '3.7.0'
implementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.5.6'
// KIP-714?
implementation("io.opentelemetry.proto:opentelemetry-proto:0.19.0-alpha") //1.3.1-alpha
implementation("com.google.protobuf:protobuf-java:3.18.0") // 4.26.1
}
test {
useJUnitPlatform()
}
/*
jar {
//from {
// configurations.runtimeClasspath.filter{ it.exists() }.collect { it.isDirectory() ? it : zipTree(it) }
//}
manifest {
attributes(
'Main-Class': application.mainClassName, 'Class-Path': configurations.runtimeClasspath.files.collect { it.getName() }.join(' ')
)
}
} */
sourceCompatibility = 11