Skip to content

Commit

Permalink
enable java 17 on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
xvik committed Apr 16, 2024
1 parent bd81d3f commit 210d21c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ environment:
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
- job_name: Java 11
JAVA_HOME: C:\Program Files\Java\jdk11
# - job_name: Java 16
# appveyor_build_worker_image: Visual Studio 2019
# JAVA_HOME: C:\Program Files\Java\jdk16
- job_name: Java 17
JAVA_HOME: C:\Program Files\Java\jdk17
appveyor_build_worker_image: Visual Studio 2019

build_script:
- ./gradlew assemble --no-daemon
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: Java ${{ matrix.java }}
strategy:
matrix:
java: [8, 11]
java: [8, 11, 17]

steps:
- uses: actions/checkout@v2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ package ru.vyarus.gradle.plugin.animalsniffer

import org.gradle.testkit.runner.BuildResult
import org.gradle.testkit.runner.TaskOutcome
import spock.lang.IgnoreIf

/**
* @author Vyacheslav Rusakov
* @since 09.02.2023
*/
@IgnoreIf({jvm.java17Compatible}) // only gradle 7.3 supports java 17
class LegacyKitTest extends AbstractKitTest {
public static final String GRADLE_VERSION = '7.0'

Expand Down

0 comments on commit 210d21c

Please sign in to comment.