Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#2177] Migrate to Java 11 Syntax and Features #2183

Merged
merged 12 commits into from
Apr 27, 2024
8 changes: 4 additions & 4 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ on:
env:
NODE_VER: '18.x'
JAVA_DISTRIBUTION: 'zulu'
JAVA_VER: 8
JAVA_VER: 11

jobs:
mainbuild:
name: ${{ matrix.os }} JDK 8
name: ${{ matrix.os }} JDK 11
strategy:
fail-fast: false
matrix:
Expand All @@ -32,7 +32,7 @@ jobs:
with:
fetch-depth: 0

- name: Set up JDK 1.8
- name: Set up JDK 1.11
uses: actions/setup-java@v3
with:
distribution: ${{ env.JAVA_DISTRIBUTION }}
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
with:
fetch-depth: 0

- name: Set up JDK 1.8
- name: Set up JDK 1.11
uses: actions/setup-java@v3
with:
distribution: ${{ env.JAVA_DISTRIBUTION }}
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ mainClassName = 'reposense.RepoSense'

node.download = false // The Liferay Node Gradle Plugin will use the system PATH to find the Node/npm executable.

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11

repositories {
mavenCentral()
Expand Down
Loading