Skip to content

Commit

Permalink
java 11, print gradle version
Browse files Browse the repository at this point in the history
  • Loading branch information
alexradzin committed Oct 4, 2023
1 parent cb08671 commit 341c846
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
java-version: '11'
- name: Gradle version
uses: gradle/gradle-build-action@v2
with:
arguments: --version
- name: Build and test
uses: gradle/gradle-build-action@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ java {
}

compileJava {
sourceCompatibility = '17'
targetCompatibility = '17'
sourceCompatibility = '11'
targetCompatibility = '11'
}

configurations {
Expand Down

0 comments on commit 341c846

Please sign in to comment.