Skip to content

Commit

Permalink
update java version
Browse files Browse the repository at this point in the history
  • Loading branch information
makeevrserg committed May 25, 2024
1 parent b3faeb4 commit 3f1f159
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
steps:
- name: Checkout Git repo
uses: actions/checkout@v4
- name: Set up JDK 1.17
- name: Set up JDK 1.21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
java-version: '21'
- name: Give gradle permission
run: chmod +x gradlew
- name: Build with Gradle
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/detekt-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 1.17
- name: Set up JDK 1.21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
java-version: '21'
- name: Give gradle permission
run: chmod +x gradlew
- name: detekt
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 1.17
- name: Set up JDK 1.21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
java-version: '21'
- name: Give gradle permission
run: chmod +x gradlew
- name: Run tests
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ kotlin.code.style=official
org.gradle.jvmargs=-Xmx4000m
# Java
makeevrserg.java.source=8
makeevrserg.java.target=17
makeevrserg.java.ktarget=17
makeevrserg.java.target=21
makeevrserg.java.ktarget=21
# Project
makeevrserg.project.name=AstraTemplate
makeevrserg.project.group=ru.astrainteractive.astratemplate
Expand Down

0 comments on commit 3f1f159

Please sign in to comment.