-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
63 lines (56 loc) · 1.92 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
53
54
55
56
57
58
59
60
61
62
63
plugins {
id 'com.github.spotbugs' version '6.0.26' apply false
id 'checkstyle'
id 'org.owasp.dependencycheck' version '11.1.1'
id 'com.adtran.scala-multiversion-plugin' version '2.1.0' apply false
id 'com.github.maiflai.scalatest' version '0.32' apply false
id 'org.scoverage' version '8.1' apply false
id 'com.github.kt3k.coveralls' version '2.12.2'
id 'com.vanniktech.maven.publish' version '0.30.0'
}
apply plugin: 'org.owasp.dependencycheck'
repositories {
mavenLocal()
maven {
url = "https://repo.maven.apache.org/maven2"
}
maven {
url = "https://repo1.maven.org/maven2"
}
maven {
name 'Confluent'
url 'https://packages.confluent.io/maven'
}
}
tasks.withType(Copy).all {
duplicatesStrategy 'exclude'
}
dependencyCheck {
nvd.apiKey = System.getenv("NVD_API_KEY")
nvd.datafeedUrl = "https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-{0}.json.gz"
}
apply from: 'gradle/java.gradle'
apply from: 'gradle/it.gradle'
if (project.gradle.startParameter.taskNames.contains('integrationTest')) {
apply from: 'gradle/scala.gradle'
}
dependencies {
api (
"org.apache.kafka:connect-runtime:${kafkaVersion}",
"io.confluent:kafka-schema-registry-client:${confluentVersion}",
"io.confluent:kafka-connect-avro-converter:${confluentVersion}",
"org.slf4j:slf4j-api:${slf4jVersion}",
)
testImplementation (
"org.apache.kafka:connect-runtime:${kafkaVersion}",
"io.confluent:kafka-schema-registry-client:${confluentVersion}",
"io.confluent:kafka-connect-avro-converter:${confluentVersion}",
"org.slf4j:slf4j-api:${slf4jVersion}",
"org.slf4j:slf4j-reload4j:${slf4jVersion}",
"org.junit.jupiter:junit-jupiter-api:${junitVersion}",
"org.junit.jupiter:junit-jupiter:${junitVersion}",
"org.junit.platform:junit-platform-runner:${junitPlatformVersion}",
"org.mockito:mockito-core:${mockitoVersion}",
"org.mockito:mockito-junit-jupiter:${mockitoVersion}"
)
}