Skip to content

Commit 11c5749

Browse files
committed
dependency update, java 21
1 parent a3e1e27 commit 11c5749

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.github/workflows/docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/setup-java@v4
1818
with:
1919
distribution: 'corretto' # See 'Supported distributions' for available options
20-
java-version: '17'
20+
java-version: '21'
2121
- uses: docker/setup-buildx-action@v3
2222
- name: Login to Docker
2323
run: echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM amazoncorretto:17-alpine
1+
FROM amazoncorretto:21-alpine
22
MAINTAINER bradfordbarnhill@gmail.com
33

44
ADD build/libs/barcode-api.jar /

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
buildscript {
2-
extra["gradleVersion"] = "8.5"
2+
extra["gradleVersion"] = "8.6"
33
}
44

55
val gradleVersion: String by extra
@@ -39,8 +39,8 @@ tasks {
3939
}
4040

4141
java {
42-
sourceCompatibility = JavaVersion.VERSION_17
43-
targetCompatibility = JavaVersion.VERSION_17
42+
sourceCompatibility = JavaVersion.VERSION_21
43+
targetCompatibility = JavaVersion.VERSION_21
4444
}
4545

4646
bootJar {

dockerbuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
./gradlew clean bootJar
1+
./gradlew clean bootJar bootWar
22

33
docker buildx build --push --platform linux/arm64/v8,linux/amd64 --tag bradbarnhill/barcode-api:latest .

gradle/libs.versions.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[versions]
22
#libs
3-
barcode = "2.5"
3+
barcode = "2.6.1"
44
openapi-ui = "2.3.0"
55

66
#plugins
7-
kotlin= "1.9.21"
8-
springBootVersion="3.2.0"
7+
kotlin= "1.9.22"
8+
springBootVersion="3.2.2"
99
springDepManagementVersion = "1.1.4"
1010

1111
[libraries]

0 commit comments

Comments
 (0)