Skip to content

Commit 55175a3

Browse files
committed
Update dependencies to camel3 and jakarta
1 parent cc55dc0 commit 55175a3

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

build.gradle

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,22 @@ ext {
3131
license = 'Apache 2'
3232

3333
/* Dependencies */
34-
camelVersion = '2.23.1'
35-
slf4jVersion = '1.7.26'
34+
camelVersion = '3.0.0'
35+
slf4jVersion = '1.7.30'
3636

3737
/* Testing */
38-
activationVersion = '1.2.0'
39-
apiguardianVersion = '1.0.0'
38+
activationApiVersion = '1.2.1'
39+
jaxbApiVersion = '2.3.2'
40+
junitPlatformVersion = '1.5.2'
41+
junitVersion = '5.5.2'
42+
43+
/* Tooling */
4044
checkstyleVersion = '8.18'
41-
jaxbVersion = '2.3.1'
4245
jacocoVersion = '0.8.3'
43-
junitPlatformVersion = '1.4.1'
44-
junitVersion = '5.4.1'
4546
logbackVersion = '1.2.3'
4647

4748
/* OSGi */
48-
camelVersionRange = '[2.16,3)'
49+
camelVersionRange = '[3,4)'
4950
projectOsgiVersion = project.version.replaceAll("-SNAPSHOT", ".SNAPSHOT")
5051
}
5152

@@ -57,17 +58,16 @@ jacocoTestReport {
5758
}
5859

5960
dependencies {
60-
api group: 'org.apache.camel', name: 'camel-core', version: camelVersion
61+
api group: 'org.apache.camel', name: 'camel-api', version: camelVersion
6162

6263
implementation group: 'org.slf4j', name: 'slf4j-api', version: slf4jVersion
6364

6465
testImplementation group: 'ch.qos.logback', name: 'logback-classic', version: logbackVersion
65-
testImplementation group: 'org.apiguardian', name: 'apiguardian-api', version: apiguardianVersion
6666
testImplementation group: 'org.junit.platform', name: 'junit-platform-runner', version: junitPlatformVersion
6767
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: junitVersion
6868
testImplementation group: 'org.apache.camel', name: 'camel-test', version: camelVersion
69-
testImplementation group: 'javax.xml.bind', name: 'jaxb-api', version: jaxbVersion
70-
testImplementation group: 'javax.activation', name: 'javax.activation-api', version: activationVersion
69+
testImplementation group: 'jakarta.xml.bind', name: 'jakarta.xml.bind-api', version: jaxbApiVersion
70+
testImplementation group: 'jakarta.activation', name: 'jakarta.activation-api', version: activationApiVersion
7171
}
7272

7373
repositories {
@@ -253,6 +253,10 @@ buildScan {
253253
termsOfServiceAgree = 'yes'
254254
}
255255

256+
test {
257+
useJUnitPlatform()
258+
}
259+
256260
task docs(type: Javadoc) {
257261
outputs.upToDateWhen { false }
258262
source sourceSets.main.allJava

0 commit comments

Comments
 (0)