-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
61 lines (52 loc) · 1.33 KB
/
build.gradle.kts
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
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
java
// `maven-publish`
eclipse
application
}
repositories {
mavenLocal()
mavenCentral()
maven {
url = uri("https://repo.maven.apache.org/maven2/")
}
maven {
url = uri("https://packages.confluent.io/maven")
}
}
dependencies {
implementation("org.apache.kafka:kafka-clients:2.8.2+")
//implementation("org.apache.kafka:kafka-clients:3.3.1")
//implementation("com.solace:solace-messaging-client:1.+")
implementation("com.solacesystems:sol-jcsmp:10.19+")
implementation("org.slf4j:slf4j-api:1.7.36")
implementation("org.slf4j:slf4j-simple:1.7.36")
testImplementation("io.confluent:kafka-json-serializer:7.3.0")
}
group = "org.apache.kafka.solace"
version = "1.0-SNAPSHOT"
description = "kafkaproxy"
java.sourceCompatibility = JavaVersion.VERSION_1_8
//publishing {
// publications.create<MavenPublication>("maven") {
// from(components["java"])
// }
//}
tasks.withType<JavaCompile>() {
options.encoding = "UTF-8"
}
application {
mainClass.set("org.apache.kafka.solace.kafkaproxy.ProxyMain")
}
distributions {
main {
// the zip filename
//distributionBaseName = 'TopicSniffer'
contents {
from("proxy-example.properties")
}
}
}