Skip to content

Commit 3fd78b5

Browse files
committed
bump Scala and sbt versions
the sbt version bump is crucial because 1.2.8 doesn't work on JDK 13
1 parent c9f510e commit 3fd78b5

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ A [Giter8][g8] template for a Hello World application, used in the [Getting Star
22

33
Template license
44
----------------
5-
Written in 2017-2018 by the Scala Center
5+
Written in 2017-2019 by the Scala Center
66

77
To the extent possible under law, the author(s) have dedicated all copyright and related
88
and neighboring rights to this template to the public domain worldwide.

src/main/g8/build.sbt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11

22
// The simplest possible sbt build file is just one line:
33

4-
scalaVersion := "2.12.8"
4+
scalaVersion := "2.13.1"
55
// That is, to create a valid sbt build, all you've got to do is define the
66
// version of Scala you'd like your project to use.
77

88
// ============================================================================
99

1010
// Lines like the above defining `scalaVersion` are called "settings" Settings
1111
// are key/value pairs. In the case of `scalaVersion`, the key is "scalaVersion"
12-
// and the value is "2.12.8"
12+
// and the value is "2.13.1"
1313

1414
// It's possible to define many kinds of settings, such as:
1515

@@ -24,7 +24,7 @@ version := "1.0"
2424

2525
// Want to use a published library in your project?
2626
// You can define other libraries as dependencies in your build like this:
27-
libraryDependencies += "org.typelevel" %% "cats-core" % "1.6.0"
27+
libraryDependencies += "org.typelevel" %% "cats-core" % "2.0.0"
2828
// Here, `libraryDependencies` is a set of dependencies, and by using `+=`,
2929
// we're adding the cats dependency to the set of dependencies that sbt will go
3030
// and fetch when it starts up.
@@ -34,7 +34,7 @@ libraryDependencies += "org.typelevel" %% "cats-core" % "1.6.0"
3434
// TIP: To find the "dependency" that you need to add to the
3535
// `libraryDependencies` set, which in the above example looks like this:
3636

37-
// "org.typelevel" %% "cats-core" % "1.6.0"
37+
// "org.typelevel" %% "cats-core" % "2.0.0"
3838

3939
// You can use Scaladex, an index of all known published Scala libraries. There,
4040
// after you find the library you want, you can just copy/paste the dependency
@@ -66,7 +66,7 @@ libraryDependencies += "org.typelevel" %% "cats-core" % "1.6.0"
6666
// settings(
6767
// inThisBuild(List(
6868
// organization := "ch.epfl.scala",
69-
// scalaVersion := "2.12.8"
69+
// scalaVersion := "2.13.1"
7070
// )),
7171
// name := "hello-world"
7272
// )
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.2.8
1+
sbt.version=1.3.2

0 commit comments

Comments
 (0)