Skip to content

Commit 5d42caf

Browse files
author
Stephen Carman
committed
Changing a variable name and being paranoid
1 parent a2b1cfa commit 5d42caf

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@ env:
55
scala:
66
- 2.10.6
77
- 2.11.8
8+
jdk:
9+
- oraclejdk8
10+
- oraclejdk7
11+
- openjdk7
12+
- openjdk8

project/Dependencies.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ object Dependencies {
88
val excludeNettyIo = ExclusionRule(organization = "io.netty", artifact= "netty-all")
99
val excludeAsm = ExclusionRule(organization = "asm")
1010
val excludeQQ = ExclusionRule(organization = "org.scalamacros")
11-
val javaVersion = scala.util.Properties.isJavaAtLeast("1.8")
11+
val jdkVersion = scala.util.Properties.isJavaAtLeast("1.8")
1212

13-
lazy val typeSafeConfigDeps = if(javaVersion){
13+
lazy val typeSafeConfigDeps = if(jdkVersion){
1414
"com.typesafe" % "config" % "1.3.0"
1515
} else {
1616
"com.typesafe" % "config" % "1.2.1"

0 commit comments

Comments
 (0)