1
1
plugins {
2
2
id ' java'
3
3
id ' net.saliman.properties' version ' 1.5.2'
4
- id ' com.github.johnrengelman.shadow' version ' 7 .1.2 '
4
+ id ' com.github.johnrengelman.shadow' version ' 8 .1.1 '
5
5
id " com.github.jk1.dependency-license-report" version " 1.19"
6
6
7
7
// Only used for testing
8
- id ' com.marklogic.ml-gradle' version ' 4.5 .0'
8
+ id ' com.marklogic.ml-gradle' version ' 4.6 .0'
9
9
id ' jacoco'
10
10
id " org.sonarqube" version " 3.5.0.2730"
11
11
@@ -23,19 +23,6 @@ java {
23
23
24
24
repositories {
25
25
mavenCentral()
26
-
27
- // For testing
28
- mavenLocal()
29
- maven {
30
- url " https://nexus.marklogic.com/repository/maven-snapshots/"
31
- }
32
- }
33
-
34
- // Do not cache changing modules
35
- configurations. all {
36
- resolutionStrategy {
37
- cacheChangingModulesFor 0 , ' seconds'
38
- }
39
26
}
40
27
41
28
configurations {
@@ -44,7 +31,7 @@ configurations {
44
31
}
45
32
46
33
ext {
47
- kafkaVersion = " 3.2.3 "
34
+ kafkaVersion = " 3.5.1 "
48
35
}
49
36
50
37
dependencies {
@@ -53,11 +40,11 @@ dependencies {
53
40
compileOnly " org.apache.kafka:connect-runtime:${ kafkaVersion} "
54
41
compileOnly " org.slf4j:slf4j-api:1.7.36"
55
42
56
- implementation ' com.marklogic:ml-javaclient-util:4.5 .0'
43
+ implementation ' com.marklogic:ml-javaclient-util:4.6 .0'
57
44
// Force DHF to use the latest version of ml-app-deployer, which minimizes security vulnerabilities
58
- implementation " com.marklogic:ml-app-deployer:4.5 .0"
45
+ implementation " com.marklogic:ml-app-deployer:4.6 .0"
59
46
60
- implementation " com.fasterxml.jackson.dataformat:jackson-dataformat-csv:2.14.1 "
47
+ implementation " com.fasterxml.jackson.dataformat:jackson-dataformat-csv:2.15.2 "
61
48
62
49
// Note that in general, the version of the DHF jar must match that of the deployed DHF instance. Different versions
63
50
// may work together, but that behavior is not guaranteed.
@@ -72,11 +59,11 @@ dependencies {
72
59
exclude module : " logback-classic"
73
60
}
74
61
75
- testImplementation ' com.marklogic:marklogic-junit5:1.3 .0'
62
+ testImplementation ' com.marklogic:marklogic-junit5:1.4 .0'
76
63
77
64
testImplementation " org.apache.kafka:connect-api:${ kafkaVersion} "
78
65
testImplementation " org.apache.kafka:connect-json:${ kafkaVersion} "
79
- testImplementation ' net.mguenther.kafka:kafka-junit:3.2.2 '
66
+ testImplementation ' net.mguenther.kafka:kafka-junit:3.5.1 '
80
67
81
68
testImplementation " org.apache.avro:avro-compiler:1.11.1"
82
69
@@ -113,7 +100,8 @@ jacocoTestReport {
113
100
// Enabling the XML report allows for sonar to grab coverage data from jacoco
114
101
jacocoTestReport {
115
102
reports {
116
- xml. enabled true
103
+ // This isn't working with Gradle 8. Will replace this soon with the sonar instance in docker-compose.
104
+ // xml.enabled true
117
105
}
118
106
}
119
107
@@ -220,8 +208,8 @@ task connectorArchive(type: Zip, dependsOn: connectorArchive_BuildDirectory, gro
220
208
description = ' Build a Connector Hub for the Confluent Connector Hub'
221
209
from " ${ baseArchiveBuildDir} "
222
210
include ' **/*'
223
- archiveName " ${ baseArchiveName} .zip"
224
- destinationDir( file(' build/distro' ) )
211
+ archiveFileName = " ${ baseArchiveName} .zip"
212
+ destinationDirectory = file(' build/distro' )
225
213
}
226
214
227
215
task installConnectorInConfluent (type : Exec , group : confluentTestingGroup, dependsOn : [connectorArchive]) {
0 commit comments