Skip to content

Commit

Permalink
update to java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Jul 31, 2024
1 parent 1ab2443 commit e9a815d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/angular.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
- uses: jhipster/actions/setup-runner@v0
with:
node-version: 20
java-version: 11
java-version: 17
binary-dir: ${{ github.workspace }}/jhipster-kotlin/cli
- run: |
mkdir -p ~/.gradle
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/react.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
- uses: jhipster/actions/setup-runner@v0
with:
node-version: 20
java-version: 11
java-version: 17
binary-dir: ${{ github.workspace }}/jhipster-kotlin/cli
- run: |
mkdir -p ~/.gradle
Expand Down
8 changes: 4 additions & 4 deletions generators/spring-boot/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ const {
JACOCO_VERSION,
JIB_VERSION,
GRADLE_VERSION,
JAVA_COMPATIBLE_VERSIONS,
JHIPSTER_DEPENDENCIES_VERSION,
JACKSON_DATABIND_NULLABLE_VERSION,
DOCKER_ELASTICSEARCH_CONTAINER,
Expand All @@ -31,7 +30,8 @@ const jhipster7TemplatesPackage = dirname(fileURLToPath(import.meta.resolve('jhi

const SERVER_MAIN_SRC_KOTLIN_DIR = `${MAIN_DIR}kotlin/`;

const JAVA_VERSION = '11';
const JAVA_VERSION = '17';
const JAVA_COMPATIBLE_VERSIONS = ['17'];

export default class extends BaseApplicationGenerator {
constructor(args, options, features) {
Expand Down Expand Up @@ -269,8 +269,8 @@ export default class extends BaseApplicationGenerator {
});

Object.assign(application.javaDependencies, {
'spring-boot': '2.7.3',
'spring-boot-dependencies': '2.7.3',
'spring-boot': SPRING_BOOT_VERSION,
'spring-boot-dependencies': SPRING_BOOT_VERSION,
});

applicationDefaults({
Expand Down

0 comments on commit e9a815d

Please sign in to comment.