Skip to content

Commit a656133

Browse files
committed
Fix Java 11 support
$ sbt > update > compile [info] Compiling 71 Scala sources to target/scala-2.11/classes... [info] 'compiler-interface' not yet compiled for Scala 2.11.11. Compiling... error: scala.reflect.internal.MissingRequirementError: object java.lang.Object in compiler mirror not found.
1 parent 715c795 commit a656133

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
language: scala
22

33
scala:
4-
- 2.10.6
5-
- 2.11.11
6-
- 2.12.2
4+
- 2.10.7
5+
- 2.11.12
6+
- 2.12.8
77

88
script:
99
- sbt ++$TRAVIS_SCALA_VERSION test:compile
@@ -13,6 +13,7 @@ sudo: false
1313

1414
jdk:
1515
- oraclejdk8
16+
- openjdk11
1617

1718
before_cache:
1819
- find $HOME/.sbt -name "*.lock" | xargs rm

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ name := """github-api"""
44

55
version := "0.2.1-SNAPSHOT"
66

7-
scalaVersion := "2.11.11"
7+
scalaVersion := "2.12.8"
88

9-
crossScalaVersions := Seq("2.10.6", scalaVersion.value, "2.12.1")
9+
crossScalaVersions := Seq("2.10.7", "2.11.12", scalaVersion.value)
1010

1111
description := "The GitHub API from Scala with Async HTTP Client (Netty)"
1212

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=0.13.15
1+
sbt.version=0.13.18

0 commit comments

Comments
 (0)