Klasse MessageFormatPlugin

Object
de.sayayi.plugin.gradle.message.MessageFormatPlugin
Alle implementierten Schnittstellen:
org.gradle.api.Plugin<@NotNull org.gradle.api.Project>

public class MessageFormatPlugin extends Object implements org.gradle.api.Plugin<@NotNull org.gradle.api.Project>
Gradle plugin that provides the messageFormat extension and registers the messageFormatPack task for scanning and packing message format definitions found in compiled classes.

The plugin automatically applies the JavaBasePlugin if not already present and configures the MessageFormatExtension with sensible defaults. The main source set is used as the default source for class scanning.

Seit:
0.8.0
Siehe auch:
  • Felddetails

  • Konstruktordetails

    • MessageFormatPlugin

      public MessageFormatPlugin()
  • Methodendetails

    • apply

      public void apply(@NotNull @NotNull org.gradle.api.Project project)
      Applies the plugin to the given project by registering the messageFormat extension and the messageFormatPack task.
      Angegeben von:
      apply in Schnittstelle org.gradle.api.Plugin<@NotNull org.gradle.api.Project>
      Parameter:
      project - the Gradle project to apply this plugin to, never null