Package de.sayayi.plugin.gradle.message


package de.sayayi.plugin.gradle.message
Gradle plugin for scanning message format annotations in compiled classes and packing them into a single message pack file.

The MessageFormatPlugin provides the messageFormat extension and registers the messageFormatPack task. The extension is represented by MessageFormatExtension and allows configuring source sets, pack filename, compression, duplicate handling strategy, template validation and include/exclude filters.

The MessageFormatPackTask performs the actual scanning and packing. It scans class files for message and template annotations, applies include/exclude filters based on message codes and writes the result to a packed message file.

Duplicate message codes and template names are handled according to the configured DuplicateMsgStrategy.

Seit:
0.8.0
  • Klasse
    Beschreibung
    Strategy for handling duplicate message codes and template names.
    Gradle extension messageFormat for configuring the messageFormatPack task.
    Gradle task for scanning messages and templates in classes and packing them into a single file which can be imported into a MessageSupport.ConfigurableMessageSupport.
    Gradle plugin that provides the messageFormat extension and registers the messageFormatPack task for scanning and packing message format definitions found in compiled classes.