diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3ec746e..04caf95 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,10 +16,10 @@ jobs: - name: Set execute permission for gradlew run: chmod +x gradlew - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v2 with: - java-version: '11' + java-version: '17' distribution: 'adopt' - name: Build with Gradle diff --git a/build.gradle b/build.gradle index eb9a178..609e2cc 100644 --- a/build.gradle +++ b/build.gradle @@ -9,7 +9,7 @@ group = 'com.telerikacademy.web' version = '0.0.1-SNAPSHOT' java { - sourceCompatibility = '11' + sourceCompatibility = '17' } repositories {