All that is needed to define a task is a declaration of it's type and a description:
lazy val exampleTask = taskKey[Unit]("An example task that will return no value.")
Because Unit is the type, this task is composed entirely of side-effects. Once defined, to implement actions:
example...