diff options
Diffstat (limited to 'tests/plugins/deprecationwarnings/plugins/elements/deprecated_plugin.py')
-rw-r--r-- | tests/plugins/deprecationwarnings/plugins/elements/deprecated_plugin.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/plugins/deprecationwarnings/plugins/elements/deprecated_plugin.py b/tests/plugins/deprecationwarnings/plugins/elements/deprecated_plugin.py new file mode 100644 index 000000000..244009764 --- /dev/null +++ b/tests/plugins/deprecationwarnings/plugins/elements/deprecated_plugin.py @@ -0,0 +1,12 @@ +from buildstream import BuildElement + + +class DeprecatedPlugin(BuildElement): + BST_MIN_VERSION = "2.0" + BST_PLUGIN_DEPRECATED = True + BST_PLUGIN_DEPRECATION_MESSAGE = "Here is some detail." + + +# Plugin entry point +def setup(): + return DeprecatedPlugin |