Skip to content

Scala Templates Plugin

Christopher J. Stehno edited this page Jan 25, 2014 · 1 revision

Provides templates for creating Scala-based projects. The tasks and additional properties they provide are listed below:

Provided Tasks

  • createScalaProject - Creates a Scala-based project in the specified directory.
  • initScalaProject - Creates a Scala-based project in the current working directory.
  • createScalaClass - Creates a Scala class in the current working directory.
  • Provides property newClassName - the name of the Scala class to be created. Should follow the standard Scala naming rules for classes.
  • createScalaObject - Creates a Scala object in the current working directory.
  • Provides property newObjectName - the name of the Scala object to be created. Should follow the standard Scala naming rules for objects.
  • exportScalaTemplates - Exports the default templates used by the Scala templates plugin.

Provided Global Properties

  • scalaVersion - the version of Scala to be used by the plugin.
  • useFastScalaCompiler - whether or not to use the fast Scala compiler with the project.