Docs: fix taskKey usage in Custom Settings example

Following commentary on 126f41c0ac
This commit is contained in:
Ches Martin 2013-10-22 20:22:42 +07:00 committed by Mark Harrah
parent 76965895d0
commit a93767961c
1 changed files with 2 additions and 2 deletions

View File

@ -51,9 +51,9 @@ with a task definition. You could be defining your own task, or you
could be planning to redefine an existing task. Either way looks the
same; use `:=` to associate some code with the task key: ::
val sampleStringTask = settingKey[String]("A sample string task.")
val sampleStringTask = taskKey[String]("A sample string task.")
val sampleIntTask = settingKey[String]("A sample int task.")
val sampleIntTask = taskKey[Int]("A sample int task.")
sampleStringTask := System.getProperty("user.home")