From c63c3c0abe23ac8836790a35e4327eb5d2f98d72 Mon Sep 17 00:00:00 2001 From: QwQ-dev Date: Fri, 20 Dec 2024 18:02:31 +0800 Subject: [PATCH] build: we need a launcher to start the plugin. --- .../service/CustomAnnotationProcessor.java | 2 +- .../me/qwqdev/library/cache/CacheLauncher.java | 16 ++++++++++++++++ .../me/qwqdev/library/mongodb/MongoLauncher.java | 16 ++++++++++++++++ 3 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 cache/src/main/java/me/qwqdev/library/cache/CacheLauncher.java create mode 100644 mongodb/src/main/java/me/qwqdev/library/mongodb/MongoLauncher.java diff --git a/annotation/src/main/java/me/qwqdev/library/annotation/service/CustomAnnotationProcessor.java b/annotation/src/main/java/me/qwqdev/library/annotation/service/CustomAnnotationProcessor.java index 0da0de7..cb73064 100644 --- a/annotation/src/main/java/me/qwqdev/library/annotation/service/CustomAnnotationProcessor.java +++ b/annotation/src/main/java/me/qwqdev/library/annotation/service/CustomAnnotationProcessor.java @@ -7,7 +7,7 @@ * * @author NaerQAQ * @version 1.0 - * @since 2024 /1/7 + * @since 2024/1/7 */ public interface CustomAnnotationProcessor { /** diff --git a/cache/src/main/java/me/qwqdev/library/cache/CacheLauncher.java b/cache/src/main/java/me/qwqdev/library/cache/CacheLauncher.java new file mode 100644 index 0000000..bf76c98 --- /dev/null +++ b/cache/src/main/java/me/qwqdev/library/cache/CacheLauncher.java @@ -0,0 +1,16 @@ +package me.qwqdev.library.cache; + +import io.fairyproject.FairyLaunch; +import io.fairyproject.container.InjectableComponent; +import io.fairyproject.plugin.Plugin; + +/** + * The type Cache launcher. + * + * @author qwq-dev + * @since 2024-12-20 18:00 + */ +@FairyLaunch +@InjectableComponent +public class CacheLauncher extends Plugin { +} diff --git a/mongodb/src/main/java/me/qwqdev/library/mongodb/MongoLauncher.java b/mongodb/src/main/java/me/qwqdev/library/mongodb/MongoLauncher.java new file mode 100644 index 0000000..72ed74a --- /dev/null +++ b/mongodb/src/main/java/me/qwqdev/library/mongodb/MongoLauncher.java @@ -0,0 +1,16 @@ +package me.qwqdev.library.mongodb; + +import io.fairyproject.FairyLaunch; +import io.fairyproject.container.InjectableComponent; +import io.fairyproject.plugin.Plugin; + +/** + * The type Mongo launcher. + * + * @author qwq-dev + * @since 2024-12-20 18:01 + */ +@FairyLaunch +@InjectableComponent +public class MongoLauncher extends Plugin { +}