Class Plugin

  • All Implemented Interfaces:
    Plugin<Project>

    public class Plugin
    extends Object
    implements Plugin<Project>
    Implements a simple DDL parser/extractor Gradle plugin, intended for use in Android projects that use the Room ORM to define (or map to) and access a local SQLite database. The plugin defines a single task (extractRoomDdl), implemented (mostly) in Task, and a configuration section (extractDdl), implemented in Extension.
    • Field Detail

      • TASK_NAME

        public static final String TASK_NAME
        Name of the Gradle task added by this plugin to the consumer project.
        See Also:
        Constant Field Values
      • CONFIGURATION_CLOSURE

        public static final String CONFIGURATION_CLOSURE
        Name of the configuration section where the task properties can be set.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Plugin

        public Plugin()
        Initializes this plugin instance. Currently, this plugin has no mutable state, nor any immutable state set on initialization, so this constructor does nothing; further, it is invoked only by Gradle itself.