Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.8'
services:
integration-adaptor-111:
build:
Expand Down
4 changes: 2 additions & 2 deletions docker/service/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM gradle:8.8-jdk17 AS build
FROM gradle:8.8-jdk21-jammy AS build
COPY --chown=gradle:gradle service /home/gradle/service

WORKDIR /home/gradle/service

RUN ./gradlew --build-cache bootJar

FROM eclipse-temurin:17-jre-jammy
FROM eclipse-temurin:21-jre-jammy

EXPOSE 8081

Expand Down
2 changes: 1 addition & 1 deletion nhs-england-developer-information.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
> The audience of this documentation is designed for NHS England developers.

## Pre requisites for running the Adaptor:
1. JDK 17
1. JDK 21
2. Docker

## How to run service:
Expand Down
5 changes: 5 additions & 0 deletions service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ apply plugin: 'org.springframework.boot'
apply plugin: 'checkstyle'
apply plugin: "com.github.spotbugs"

java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
Comment on lines +16 to +19
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll have to explain what these do. They weren't there before, so I can only assume they're important?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is just to make sure that we are using Java 21 in case when there are any other Java versions installed on any env where this project is run. It is just to avoid ambiguity


repositories {
mavenCentral()
flatDir {
Expand Down
Loading