Skip to content

Commit

Permalink
Polishing
Browse files Browse the repository at this point in the history
Use OpenJDK 11 on AppVeyor and make integration tests pass on Java 10
  • Loading branch information
sormuras committed Nov 20, 2018
1 parent 8407c9e commit 123a071
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
9 changes: 6 additions & 3 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ branches:
- /^r\d.*$/

install:
- cinst jdk10 -params 'installdir=C:\\jdk10'
- SET JAVA_HOME=C:\jdk10
- SET PATH=C:\jdk10\bin;%PATH%
# JDK installation via: https://chocolatey.org/packages/jdk11
- cinst jdk11 -params 'installdir=C:\\jdk11'
- SET JAVA_HOME="C:\jdk11"
# Or use pre-installed JDK
# - SET JAVA_HOME="C:\Program Files\Java\jdk10"
- SET PATH=%JAVA_HOME%\bin;%PATH%

test_script:
- gradlew --no-daemon -version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

org.junit.jupiter.engine@${jupiterVersion} automatic
requires java.base mandated
provides org.junit.platform.engine.TestEngine with org.junit.jupiter.engine.JupiterTestEngine
provides org.junit.platform.engine.TestEngine with org.junit.jupiter.engine.[J|j]upiter[T|t]est[E|e]ngine
contains org.junit.jupiter.engine
contains org.junit.jupiter.engine.descriptor
contains org.junit.jupiter.engine.discovery
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

org.junit.platform.surefire.provider@${platformVersion} automatic
requires java.base mandated
provides org.apache.maven.surefire.providerapi.SurefireProvider with org.junit.platform.surefire.provider.JUnitPlatformProvider
provides org.apache.maven.surefire.providerapi.SurefireProvider with org.junit.platform.surefire.provider.[J|j][U|u]nit[P|p]latform[P|p]rovider
contains org.junit.platform.surefire.provider
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

org.junit.vintage.engine@${vintageVersion} automatic
requires java.base mandated
provides org.junit.platform.engine.TestEngine with org.junit.vintage.engine.VintageTestEngine
provides org.junit.platform.engine.TestEngine with org.junit.vintage.engine.[V|v]intage[T|t]est[E|e]ngine
contains org.junit.vintage.engine
contains org.junit.vintage.engine.descriptor
contains org.junit.vintage.engine.discovery
Expand Down

0 comments on commit 123a071

Please sign in to comment.