Skip to content

Commit

Permalink
java version update
Browse files Browse the repository at this point in the history
Peter Park committed Oct 9, 2024
1 parent b86e5a7 commit e79b668
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
SHELL := /bin/zsh
JAVA_HOME := $(/usr/libexec/java_home -v 21)

ELASTICSEARCH_LABEL_SELECTOR := elasticsearch
ELASTICSEARCH_PORT := 9200

@@ -6,11 +9,14 @@ WEB_PORT := 3000

start: web-deploy es-deploy web-pf

test:
docker-comopse -f docker-compose-local.yml up
build:
cd api && ./gradlew clean build

test: build
docker-comopse -f docker-compose-local.yml up --build

deploy:
docker-compose -f docker-compose-prod.yml up
deploy: build
docker-compose -f docker-compose-prod.yml up --build

# elasticsearch deploy
es-deploy:
2 changes: 1 addition & 1 deletion api/build.gradle
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ version = '0.0.1-SNAPSHOT'

java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
languageVersion = JavaLanguageVersion.of(21)
}
}

0 comments on commit e79b668

Please sign in to comment.