diff --git a/build.gradle b/build.gradle index 127526f..4586639 100644 --- a/build.gradle +++ b/build.gradle @@ -30,11 +30,19 @@ repositories { dependencies { implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.3' - compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" + implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" + implementation ("org.apache.zookeeper:zookeeper:3.4.13") { + exclude group: 'log4j', module: 'log4j' + exclude group: 'org.slf4j', module: 'slf4j-log4j12' + } + // drop-in replacement for log4j v1, fixes security issues + implementation "ch.qos.reload4j:reload4j:1.2.19" + implementation 'org.slf4j:slf4j-reload4j:1.7.36' + implementation "org.apache.kafka:kafka-clients:2.7.0" implementation "org.slf4j:slf4j-api:1.7.36" implementation "org.slf4j:slf4j-simple:1.7.36" - compile "com.google.code.gson:gson:2.0" + implementation "com.google.code.gson:gson:2.0" } compileKotlin {