WorldPluginImports

world.sbt.WorldPluginImports

The settings and tasks a build enables with WorldPlugin.

All members are automatically available in a build.sbt that enables the plugin.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete fields

val WorldData: Configuration

The configuration world's curated data arrives on: a build-time corpus of several megabytes that must never reach a consumer's own compile or runtime classpath, so it is hidden and the generator resolves it by name.

The configuration world's curated data arrives on: a build-time corpus of several megabytes that must never reach a consumer's own compile or runtime classpath, so it is hidden and the generator resolves it by name.

Attributes

val worldCatalogue: SettingKey[File]

The reference catalogue of messages this build generates typed methods for.

The reference catalogue of messages this build generates typed methods for.

Attributes

val worldDefaultLocale: SettingKey[String]

The locale whose culture an unmatched negotiation lands on. Defaults to the first declared.

The locale whose culture an unmatched negotiation lands on. Defaults to the first declared.

Attributes

val worldGenerate: TaskKey[Seq[File]]

Generates the declared cultures, returning the files written.

Generates the declared cultures, returning the files written.

Attributes

val worldLocales: SettingKey[Seq[String]]

The locales this build generates cultures for, as language tags.

The locales this build generates cultures for, as language tags.

A tag may select a declared alternate numbering system through the u-nu extension ("ar-EG-u-nu-latn"); a private-use tag is refused, because no dataset can source one - compose that bundle by hand through Culture(locale, data) instead.

Attributes

val worldMessages: TaskKey[Seq[File]]

Generates the message trait and its per-locale objects, returning the files written.

Generates the message trait and its per-locale objects, returning the files written.

Attributes

val worldPackage: SettingKey[String]

The package the generated sources are written into.

The package the generated sources are written into.

Attributes

val worldTranslations: SettingKey[File]

The directory holding the translators' PO files, one per locale, named by language tag.

The directory holding the translators' PO files, one per locale, named by language tag.

Attributes