1
1
2
2
// The simplest possible sbt build file is just one line:
3
3
4
- scalaVersion := " 2.12.7 "
4
+ scalaVersion := " 2.12.8 "
5
5
// That is, to create a valid sbt build, all you've got to do is define the
6
6
// version of Scala you'd like your project to use.
7
7
8
8
// ============================================================================
9
9
10
10
// Lines like the above defining `scalaVersion` are called "settings" Settings
11
11
// are key/value pairs. In the case of `scalaVersion`, the key is "scalaVersion"
12
- // and the value is "2.12.7 "
12
+ // and the value is "2.12.8 "
13
13
14
14
// It's possible to define many kinds of settings, such as:
15
15
@@ -24,7 +24,7 @@ version := "1.0"
24
24
25
25
// Want to use a published library in your project?
26
26
// You can define other libraries as dependencies in your build like this:
27
- libraryDependencies += " org.typelevel" %% " cats-core" % " 1.4 .0"
27
+ libraryDependencies += " org.typelevel" %% " cats-core" % " 1.6 .0"
28
28
// Here, `libraryDependencies` is a set of dependencies, and by using `+=`,
29
29
// we're adding the cats dependency to the set of dependencies that sbt will go
30
30
// and fetch when it starts up.
@@ -34,7 +34,7 @@ libraryDependencies += "org.typelevel" %% "cats-core" % "1.4.0"
34
34
// TIP: To find the "dependency" that you need to add to the
35
35
// `libraryDependencies` set, which in the above example looks like this:
36
36
37
- // "org.typelevel" %% "cats-core" % "1.4 .0"
37
+ // "org.typelevel" %% "cats-core" % "1.6 .0"
38
38
39
39
// You can use Scaladex, an index of all known published Scala libraries. There,
40
40
// after you find the library you want, you can just copy/paste the dependency
@@ -66,7 +66,7 @@ libraryDependencies += "org.typelevel" %% "cats-core" % "1.4.0"
66
66
// settings(
67
67
// inThisBuild(List(
68
68
// organization := "ch.epfl.scala",
69
- // scalaVersion := "2.12.7 "
69
+ // scalaVersion := "2.12.8 "
70
70
// )),
71
71
// name := "hello-world"
72
72
// )
0 commit comments