Package com.nickbenn.room.gradle
Class Plugin
- java.lang.Object
-
- com.nickbenn.room.gradle.Plugin
-
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) inTask
, and a configuration section (extractDdl
), implemented inExtension
.
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONFIGURATION_CLOSURE
Name of the configuration section where the task properties can be set.static String
TASK_NAME
Name of the Gradle task added by this plugin to the consumer project.
-
Constructor Summary
Constructors Constructor Description Plugin()
Initializes this plugin instance.
-
-
-
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
-
-