Skip to content

Commit

Permalink
Support Java 17 (#5)
Browse files Browse the repository at this point in the history
Co-authored-by: Benedikt Fein <[email protected]>
Co-authored-by: Jan Philip Bernius <[email protected]>
  • Loading branch information
3 people authored Jul 21, 2023
1 parent 2734950 commit 4d40a44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM gradle:7.4-jdk8-focal AS build
FROM gradle:7.4-jdk17 AS build
WORKDIR /notification-plugin
COPY . ./
RUN gradle clean jar

FROM eclipse-temurin:8-jre
FROM eclipse-temurin:17-jre
WORKDIR /notification-plugin
COPY --from=build /notification-plugin/build/libs/artemis-notification-plugin-*.jar /notification-plugin/artemis-notification-plugin.jar

Expand Down
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ dependencies {
implementation "org.apache.httpcomponents:fluent-hc:4.5.13"
implementation "com.google.code.findbugs:jsr305:3.0.2"
implementation "com.fasterxml.jackson.core:jackson-annotations:2.13.4"
implementation "com.sun.xml.bind:jaxb-impl:2.3.1"
implementation "com.sun.xml.bind:jaxb-core:2.3.0.1"
implementation "com.sun.xml.bind:jaxb-impl:2.3.8"
implementation "javax.xml.bind:jaxb-api:2.3.1"
testImplementation "org.junit.jupiter:junit-jupiter-api:${junit_version}"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junit_version}"
Expand Down

0 comments on commit 4d40a44

Please sign in to comment.