Package de.sayayi.plugin.gradle.message
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:
-
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidapply(@NotNull org.gradle.api.Project project) Applies the plugin to the givenprojectby registering themessageFormatextension and themessageFormatPacktask.
-
Felddetails
-
EXTENSION
Plugin extension name: "messageFormat"- Siehe auch:
-
-
Konstruktordetails
-
MessageFormatPlugin
public MessageFormatPlugin()
-
-
Methodendetails
-
apply
public void apply(@NotNull @NotNull org.gradle.api.Project project) Applies the plugin to the givenprojectby registering themessageFormatextension and themessageFormatPacktask.- Angegeben von:
applyin Schnittstelleorg.gradle.api.Plugin<@NotNull org.gradle.api.Project>- Parameter:
project- the Gradle project to apply this plugin to, nevernull
-