diff --git a/annotation/README.md b/annotation/README.md index ceba1ef..defd3c0 100644 --- a/annotation/README.md +++ b/annotation/README.md @@ -9,7 +9,7 @@ automated annotation processor. This is very useful for repeatedly performing ce // Dependencies dependencies { // annotation module - compileOnly("me.qwqdev.library:annotation:1.0-SNAPSHOT") + compileOnly("net.legacy.library:annotation:1.0-SNAPSHOT") } ``` @@ -66,10 +66,10 @@ public class Launcher extends Plugin { /* * The package where the Processor of the annotation to be processed is located - * e.g. "me.qwqdev.library.configuration.serialize.annotation.SimplixSerializerSerializableAutoRegister" - * so the package name is "me.qwqdev.library.configuration.serialize.annotation" + * e.g. "annotation.serialize.net.legacy.library.configuration.SimplixSerializerSerializableAutoRegister" + * so the package name is "net.legacy.library.configuration.serialize.annotation" */ - "me.qwqdev.library.configuration.serialize.annotation" + "net.legacy.library.configuration.serialize.annotation" ); annotationProcessingService.processAnnotations( diff --git a/annotation/gradle.properties b/annotation/gradle.properties index bc96d43..6669411 100644 --- a/annotation/gradle.properties +++ b/annotation/gradle.properties @@ -1,3 +1,3 @@ # annotation -package=me.qwqdev.library.annotation +package=net.legacy.library.annotation name=annotation \ No newline at end of file diff --git a/annotation/src/main/java/me/qwqdev/library/annotation/AnnotationLauncher.java b/annotation/src/main/java/net/legacy/library/annotation/AnnotationLauncher.java similarity index 88% rename from annotation/src/main/java/me/qwqdev/library/annotation/AnnotationLauncher.java rename to annotation/src/main/java/net/legacy/library/annotation/AnnotationLauncher.java index b9ed68d..09cef05 100644 --- a/annotation/src/main/java/me/qwqdev/library/annotation/AnnotationLauncher.java +++ b/annotation/src/main/java/net/legacy/library/annotation/AnnotationLauncher.java @@ -1,4 +1,4 @@ -package me.qwqdev.library.annotation; +package net.legacy.library.annotation; import io.fairyproject.FairyLaunch; import io.fairyproject.container.InjectableComponent; diff --git a/annotation/src/main/java/me/qwqdev/library/annotation/service/AnnotationProcessingService.java b/annotation/src/main/java/net/legacy/library/annotation/service/AnnotationProcessingService.java similarity index 98% rename from annotation/src/main/java/me/qwqdev/library/annotation/service/AnnotationProcessingService.java rename to annotation/src/main/java/net/legacy/library/annotation/service/AnnotationProcessingService.java index b05126b..d4f38f7 100644 --- a/annotation/src/main/java/me/qwqdev/library/annotation/service/AnnotationProcessingService.java +++ b/annotation/src/main/java/net/legacy/library/annotation/service/AnnotationProcessingService.java @@ -1,10 +1,10 @@ -package me.qwqdev.library.annotation.service; +package net.legacy.library.annotation.service; import com.google.common.collect.Sets; import io.fairyproject.container.Containers; import io.fairyproject.container.InjectableComponent; import io.fairyproject.log.Log; -import me.qwqdev.library.annotation.utils.AnnotationScanner; +import net.legacy.library.annotation.utils.AnnotationScanner; import org.reflections.util.ClasspathHelper; import java.lang.annotation.Annotation; diff --git a/annotation/src/main/java/me/qwqdev/library/annotation/service/AnnotationProcessingServiceInterface.java b/annotation/src/main/java/net/legacy/library/annotation/service/AnnotationProcessingServiceInterface.java similarity index 99% rename from annotation/src/main/java/me/qwqdev/library/annotation/service/AnnotationProcessingServiceInterface.java rename to annotation/src/main/java/net/legacy/library/annotation/service/AnnotationProcessingServiceInterface.java index bc13b98..78b6919 100644 --- a/annotation/src/main/java/me/qwqdev/library/annotation/service/AnnotationProcessingServiceInterface.java +++ b/annotation/src/main/java/net/legacy/library/annotation/service/AnnotationProcessingServiceInterface.java @@ -1,4 +1,4 @@ -package me.qwqdev.library.annotation.service; +package net.legacy.library.annotation.service; import java.net.URL; import java.util.Collection; diff --git a/annotation/src/main/java/me/qwqdev/library/annotation/service/AnnotationProcessor.java b/annotation/src/main/java/net/legacy/library/annotation/service/AnnotationProcessor.java similarity index 93% rename from annotation/src/main/java/me/qwqdev/library/annotation/service/AnnotationProcessor.java rename to annotation/src/main/java/net/legacy/library/annotation/service/AnnotationProcessor.java index d48b14e..a65ad83 100644 --- a/annotation/src/main/java/me/qwqdev/library/annotation/service/AnnotationProcessor.java +++ b/annotation/src/main/java/net/legacy/library/annotation/service/AnnotationProcessor.java @@ -1,4 +1,4 @@ -package me.qwqdev.library.annotation.service; +package net.legacy.library.annotation.service; import java.lang.annotation.Annotation; import java.lang.annotation.ElementType; diff --git a/annotation/src/main/java/me/qwqdev/library/annotation/service/CustomAnnotationProcessor.java b/annotation/src/main/java/net/legacy/library/annotation/service/CustomAnnotationProcessor.java similarity index 97% rename from annotation/src/main/java/me/qwqdev/library/annotation/service/CustomAnnotationProcessor.java rename to annotation/src/main/java/net/legacy/library/annotation/service/CustomAnnotationProcessor.java index cb73064..f2af535 100644 --- a/annotation/src/main/java/me/qwqdev/library/annotation/service/CustomAnnotationProcessor.java +++ b/annotation/src/main/java/net/legacy/library/annotation/service/CustomAnnotationProcessor.java @@ -1,4 +1,4 @@ -package me.qwqdev.library.annotation.service; +package net.legacy.library.annotation.service; /** * Interface for custom annotation processors. diff --git a/annotation/src/main/java/me/qwqdev/library/annotation/utils/AnnotationScanner.java b/annotation/src/main/java/net/legacy/library/annotation/utils/AnnotationScanner.java similarity index 98% rename from annotation/src/main/java/me/qwqdev/library/annotation/utils/AnnotationScanner.java rename to annotation/src/main/java/net/legacy/library/annotation/utils/AnnotationScanner.java index fbace58..83ddec8 100644 --- a/annotation/src/main/java/me/qwqdev/library/annotation/utils/AnnotationScanner.java +++ b/annotation/src/main/java/net/legacy/library/annotation/utils/AnnotationScanner.java @@ -1,4 +1,4 @@ -package me.qwqdev.library.annotation.utils; +package net.legacy.library.annotation.utils; import lombok.experimental.UtilityClass; import org.reflections.Reflections; diff --git a/cache/README.md b/cache/README.md index 58012db..8a0a648 100644 --- a/cache/README.md +++ b/cache/README.md @@ -13,7 +13,7 @@ The original purpose of this module was to design a L1 cache for the `mongodb` m // Dependencies dependencies { // cache module - compileOnly("me.qwqdev.library:cache:1.0-SNAPSHOT") + compileOnly("net.legacy.library:cache:1.0-SNAPSHOT") } ``` diff --git a/cache/gradle.properties b/cache/gradle.properties index d7abc15..d783dd4 100644 --- a/cache/gradle.properties +++ b/cache/gradle.properties @@ -1,3 +1,3 @@ # cache -package=me.qwqdev.library.cache +package=net.legacy.library.cache name=cache \ No newline at end of file diff --git a/cache/src/main/java/me/qwqdev/library/cache/CacheLauncher.java b/cache/src/main/java/net/legacy/library/cache/CacheLauncher.java similarity index 89% rename from cache/src/main/java/me/qwqdev/library/cache/CacheLauncher.java rename to cache/src/main/java/net/legacy/library/cache/CacheLauncher.java index 4cc541c..eba428f 100644 --- a/cache/src/main/java/me/qwqdev/library/cache/CacheLauncher.java +++ b/cache/src/main/java/net/legacy/library/cache/CacheLauncher.java @@ -1,4 +1,4 @@ -package me.qwqdev.library.cache; +package net.legacy.library.cache; import io.fairyproject.FairyLaunch; import io.fairyproject.container.InjectableComponent; diff --git a/cache/src/main/java/me/qwqdev/library/cache/factory/CacheServiceFactory.java b/cache/src/main/java/net/legacy/library/cache/factory/CacheServiceFactory.java similarity index 88% rename from cache/src/main/java/me/qwqdev/library/cache/factory/CacheServiceFactory.java rename to cache/src/main/java/net/legacy/library/cache/factory/CacheServiceFactory.java index 09a6cb9..3d784b0 100644 --- a/cache/src/main/java/me/qwqdev/library/cache/factory/CacheServiceFactory.java +++ b/cache/src/main/java/net/legacy/library/cache/factory/CacheServiceFactory.java @@ -1,13 +1,13 @@ -package me.qwqdev.library.cache.factory; +package net.legacy.library.cache.factory; import com.github.benmanes.caffeine.cache.AsyncCache; import com.github.benmanes.caffeine.cache.Cache; import lombok.experimental.UtilityClass; -import me.qwqdev.library.cache.service.CacheServiceInterface; -import me.qwqdev.library.cache.service.caffeine.CaffeineAsyncCacheService; -import me.qwqdev.library.cache.service.caffeine.CaffeineCacheService; -import me.qwqdev.library.cache.service.redis.RedisCacheService; -import me.qwqdev.library.cache.service.redis.RedisCacheServiceInterface; +import net.legacy.library.cache.service.CacheServiceInterface; +import net.legacy.library.cache.service.caffeine.CaffeineAsyncCacheService; +import net.legacy.library.cache.service.caffeine.CaffeineCacheService; +import net.legacy.library.cache.service.redis.RedisCacheService; +import net.legacy.library.cache.service.redis.RedisCacheServiceInterface; import org.redisson.config.Config; /** diff --git a/cache/src/main/java/me/qwqdev/library/cache/model/CacheItem.java b/cache/src/main/java/net/legacy/library/cache/model/CacheItem.java similarity index 96% rename from cache/src/main/java/me/qwqdev/library/cache/model/CacheItem.java rename to cache/src/main/java/net/legacy/library/cache/model/CacheItem.java index 18cf657..2de9aef 100644 --- a/cache/src/main/java/me/qwqdev/library/cache/model/CacheItem.java +++ b/cache/src/main/java/net/legacy/library/cache/model/CacheItem.java @@ -1,4 +1,4 @@ -package me.qwqdev.library.cache.model; +package net.legacy.library.cache.model; import lombok.Data; diff --git a/cache/src/main/java/me/qwqdev/library/cache/model/ExpirationSettings.java b/cache/src/main/java/net/legacy/library/cache/model/ExpirationSettings.java similarity index 96% rename from cache/src/main/java/me/qwqdev/library/cache/model/ExpirationSettings.java rename to cache/src/main/java/net/legacy/library/cache/model/ExpirationSettings.java index 4967b62..79c4585 100644 --- a/cache/src/main/java/me/qwqdev/library/cache/model/ExpirationSettings.java +++ b/cache/src/main/java/net/legacy/library/cache/model/ExpirationSettings.java @@ -1,4 +1,4 @@ -package me.qwqdev.library.cache.model; +package net.legacy.library.cache.model; import lombok.AllArgsConstructor; import lombok.Data; diff --git a/cache/src/main/java/me/qwqdev/library/cache/model/LockSettings.java b/cache/src/main/java/net/legacy/library/cache/model/LockSettings.java similarity index 95% rename from cache/src/main/java/me/qwqdev/library/cache/model/LockSettings.java rename to cache/src/main/java/net/legacy/library/cache/model/LockSettings.java index c42cc14..c3f803b 100644 --- a/cache/src/main/java/me/qwqdev/library/cache/model/LockSettings.java +++ b/cache/src/main/java/net/legacy/library/cache/model/LockSettings.java @@ -1,4 +1,4 @@ -package me.qwqdev.library.cache.model; +package net.legacy.library.cache.model; import lombok.Data; diff --git a/cache/src/main/java/me/qwqdev/library/cache/service/AbstractCacheService.java b/cache/src/main/java/net/legacy/library/cache/service/AbstractCacheService.java similarity index 97% rename from cache/src/main/java/me/qwqdev/library/cache/service/AbstractCacheService.java rename to cache/src/main/java/net/legacy/library/cache/service/AbstractCacheService.java index 71be91d..ad3b920 100644 --- a/cache/src/main/java/me/qwqdev/library/cache/service/AbstractCacheService.java +++ b/cache/src/main/java/net/legacy/library/cache/service/AbstractCacheService.java @@ -1,6 +1,6 @@ -package me.qwqdev.library.cache.service; +package net.legacy.library.cache.service; -import me.qwqdev.library.cache.model.LockSettings; +import net.legacy.library.cache.model.LockSettings; import java.util.concurrent.locks.Lock; import java.util.function.BiConsumer; diff --git a/cache/src/main/java/me/qwqdev/library/cache/service/AbstractLockableCache.java b/cache/src/main/java/net/legacy/library/cache/service/AbstractLockableCache.java similarity index 96% rename from cache/src/main/java/me/qwqdev/library/cache/service/AbstractLockableCache.java rename to cache/src/main/java/net/legacy/library/cache/service/AbstractLockableCache.java index a886a81..3e2edd5 100644 --- a/cache/src/main/java/me/qwqdev/library/cache/service/AbstractLockableCache.java +++ b/cache/src/main/java/net/legacy/library/cache/service/AbstractLockableCache.java @@ -1,7 +1,7 @@ -package me.qwqdev.library.cache.service; +package net.legacy.library.cache.service; import lombok.Data; -import me.qwqdev.library.cache.model.LockSettings; +import net.legacy.library.cache.model.LockSettings; import java.util.concurrent.locks.Lock; import java.util.function.Function; diff --git a/cache/src/main/java/me/qwqdev/library/cache/service/CacheServiceInterface.java b/cache/src/main/java/net/legacy/library/cache/service/CacheServiceInterface.java similarity index 96% rename from cache/src/main/java/me/qwqdev/library/cache/service/CacheServiceInterface.java rename to cache/src/main/java/net/legacy/library/cache/service/CacheServiceInterface.java index 948a323..8b1b8bb 100644 --- a/cache/src/main/java/me/qwqdev/library/cache/service/CacheServiceInterface.java +++ b/cache/src/main/java/net/legacy/library/cache/service/CacheServiceInterface.java @@ -1,6 +1,6 @@ -package me.qwqdev.library.cache.service; +package net.legacy.library.cache.service; -import me.qwqdev.library.cache.model.LockSettings; +import net.legacy.library.cache.model.LockSettings; import java.util.concurrent.locks.Lock; import java.util.function.BiConsumer; diff --git a/cache/src/main/java/me/qwqdev/library/cache/service/LockableCache.java b/cache/src/main/java/net/legacy/library/cache/service/LockableCache.java similarity index 91% rename from cache/src/main/java/me/qwqdev/library/cache/service/LockableCache.java rename to cache/src/main/java/net/legacy/library/cache/service/LockableCache.java index 7d80f74..cbbd6b9 100644 --- a/cache/src/main/java/me/qwqdev/library/cache/service/LockableCache.java +++ b/cache/src/main/java/net/legacy/library/cache/service/LockableCache.java @@ -1,6 +1,6 @@ -package me.qwqdev.library.cache.service; +package net.legacy.library.cache.service; -import me.qwqdev.library.cache.model.LockSettings; +import net.legacy.library.cache.model.LockSettings; import java.util.concurrent.locks.Lock; import java.util.function.Function; diff --git a/cache/src/main/java/me/qwqdev/library/cache/service/caffeine/CaffeineAsyncCacheService.java b/cache/src/main/java/net/legacy/library/cache/service/caffeine/CaffeineAsyncCacheService.java similarity index 85% rename from cache/src/main/java/me/qwqdev/library/cache/service/caffeine/CaffeineAsyncCacheService.java rename to cache/src/main/java/net/legacy/library/cache/service/caffeine/CaffeineAsyncCacheService.java index e9bb0a2..4fc0618 100644 --- a/cache/src/main/java/me/qwqdev/library/cache/service/caffeine/CaffeineAsyncCacheService.java +++ b/cache/src/main/java/net/legacy/library/cache/service/caffeine/CaffeineAsyncCacheService.java @@ -1,9 +1,9 @@ -package me.qwqdev.library.cache.service.caffeine; +package net.legacy.library.cache.service.caffeine; import com.github.benmanes.caffeine.cache.AsyncCache; import com.github.benmanes.caffeine.cache.Caffeine; -import me.qwqdev.library.cache.service.AbstractCacheService; -import me.qwqdev.library.cache.service.CacheServiceInterface; +import net.legacy.library.cache.service.AbstractCacheService; +import net.legacy.library.cache.service.CacheServiceInterface; /** * Asynchronous Caffeine cache service implementation. diff --git a/cache/src/main/java/me/qwqdev/library/cache/service/caffeine/CaffeineCacheService.java b/cache/src/main/java/net/legacy/library/cache/service/caffeine/CaffeineCacheService.java similarity index 84% rename from cache/src/main/java/me/qwqdev/library/cache/service/caffeine/CaffeineCacheService.java rename to cache/src/main/java/net/legacy/library/cache/service/caffeine/CaffeineCacheService.java index 68c1cfb..c8c81b4 100644 --- a/cache/src/main/java/me/qwqdev/library/cache/service/caffeine/CaffeineCacheService.java +++ b/cache/src/main/java/net/legacy/library/cache/service/caffeine/CaffeineCacheService.java @@ -1,9 +1,9 @@ -package me.qwqdev.library.cache.service.caffeine; +package net.legacy.library.cache.service.caffeine; import com.github.benmanes.caffeine.cache.Cache; import com.github.benmanes.caffeine.cache.Caffeine; -import me.qwqdev.library.cache.service.AbstractCacheService; -import me.qwqdev.library.cache.service.CacheServiceInterface; +import net.legacy.library.cache.service.AbstractCacheService; +import net.legacy.library.cache.service.CacheServiceInterface; /** * Synchronous Caffeine cache service implementation. diff --git a/cache/src/main/java/me/qwqdev/library/cache/service/redis/RedisCacheService.java b/cache/src/main/java/net/legacy/library/cache/service/redis/RedisCacheService.java similarity index 97% rename from cache/src/main/java/me/qwqdev/library/cache/service/redis/RedisCacheService.java rename to cache/src/main/java/net/legacy/library/cache/service/redis/RedisCacheService.java index c4dad6c..d1fd77e 100644 --- a/cache/src/main/java/me/qwqdev/library/cache/service/redis/RedisCacheService.java +++ b/cache/src/main/java/net/legacy/library/cache/service/redis/RedisCacheService.java @@ -1,8 +1,8 @@ -package me.qwqdev.library.cache.service.redis; +package net.legacy.library.cache.service.redis; import io.fairyproject.log.Log; -import me.qwqdev.library.cache.model.LockSettings; -import me.qwqdev.library.cache.service.AbstractLockableCache; +import net.legacy.library.cache.model.LockSettings; +import net.legacy.library.cache.service.AbstractLockableCache; import org.redisson.Redisson; import org.redisson.api.RedissonClient; import org.redisson.config.Config; diff --git a/cache/src/main/java/me/qwqdev/library/cache/service/redis/RedisCacheServiceInterface.java b/cache/src/main/java/net/legacy/library/cache/service/redis/RedisCacheServiceInterface.java similarity index 95% rename from cache/src/main/java/me/qwqdev/library/cache/service/redis/RedisCacheServiceInterface.java rename to cache/src/main/java/net/legacy/library/cache/service/redis/RedisCacheServiceInterface.java index 855cc7e..09fade7 100644 --- a/cache/src/main/java/me/qwqdev/library/cache/service/redis/RedisCacheServiceInterface.java +++ b/cache/src/main/java/net/legacy/library/cache/service/redis/RedisCacheServiceInterface.java @@ -1,7 +1,7 @@ -package me.qwqdev.library.cache.service.redis; +package net.legacy.library.cache.service.redis; -import me.qwqdev.library.cache.model.LockSettings; -import me.qwqdev.library.cache.service.CacheServiceInterface; +import net.legacy.library.cache.model.LockSettings; +import net.legacy.library.cache.service.CacheServiceInterface; import org.redisson.api.RedissonClient; import java.util.concurrent.locks.Lock; diff --git a/commons/README.md b/commons/README.md index e9a9fdc..cb54cdd 100644 --- a/commons/README.md +++ b/commons/README.md @@ -9,7 +9,7 @@ this document when there's new content. // Dependencies dependencies { // commons module - compileOnly("me.qwqdev.library:commons:1.0-SNAPSHOT") + compileOnly("net.legacy.library:commons:1.0-SNAPSHOT") } ``` diff --git a/commons/gradle.properties b/commons/gradle.properties index 44eb171..f62d715 100644 --- a/commons/gradle.properties +++ b/commons/gradle.properties @@ -1,3 +1,3 @@ # commons -package=me.qwqdev.library.commons +package=net.legacy.library.commons name=commons \ No newline at end of file diff --git a/commons/src/main/java/me/qwqdev/library/commons/CommonsLauncher.java b/commons/src/main/java/net/legacy/library/commons/CommonsLauncher.java similarity index 89% rename from commons/src/main/java/me/qwqdev/library/commons/CommonsLauncher.java rename to commons/src/main/java/net/legacy/library/commons/CommonsLauncher.java index dc5b43d..ad04aa7 100644 --- a/commons/src/main/java/me/qwqdev/library/commons/CommonsLauncher.java +++ b/commons/src/main/java/net/legacy/library/commons/CommonsLauncher.java @@ -1,4 +1,4 @@ -package me.qwqdev.library.commons; +package net.legacy.library.commons; import io.fairyproject.FairyLaunch; import io.fairyproject.container.InjectableComponent; diff --git a/commons/src/main/java/me/qwqdev/library/commons/factory/InjectorFactory.java b/commons/src/main/java/net/legacy/library/commons/factory/InjectorFactory.java similarity index 75% rename from commons/src/main/java/me/qwqdev/library/commons/factory/InjectorFactory.java rename to commons/src/main/java/net/legacy/library/commons/factory/InjectorFactory.java index 746ed18..7c581a6 100644 --- a/commons/src/main/java/me/qwqdev/library/commons/factory/InjectorFactory.java +++ b/commons/src/main/java/net/legacy/library/commons/factory/InjectorFactory.java @@ -1,8 +1,8 @@ -package me.qwqdev.library.commons.factory; +package net.legacy.library.commons.factory; import lombok.experimental.UtilityClass; -import me.qwqdev.library.commons.injector.StaticInjectorInterface; -import me.qwqdev.library.commons.injector.VarHandleReflectionInjector; +import net.legacy.library.commons.injector.StaticInjectorInterface; +import net.legacy.library.commons.injector.VarHandleReflectionInjector; /** * Factory for creating injector instances. diff --git a/commons/src/main/java/me/qwqdev/library/commons/injector/ObjectInjectorInterface.java b/commons/src/main/java/net/legacy/library/commons/injector/ObjectInjectorInterface.java similarity index 85% rename from commons/src/main/java/me/qwqdev/library/commons/injector/ObjectInjectorInterface.java rename to commons/src/main/java/net/legacy/library/commons/injector/ObjectInjectorInterface.java index cf43b67..9df1ea2 100644 --- a/commons/src/main/java/me/qwqdev/library/commons/injector/ObjectInjectorInterface.java +++ b/commons/src/main/java/net/legacy/library/commons/injector/ObjectInjectorInterface.java @@ -1,4 +1,4 @@ -package me.qwqdev.library.commons.injector; +package net.legacy.library.commons.injector; /** * Interface for object injectors. diff --git a/commons/src/main/java/me/qwqdev/library/commons/injector/StaticInjectorInterface.java b/commons/src/main/java/net/legacy/library/commons/injector/StaticInjectorInterface.java similarity index 85% rename from commons/src/main/java/me/qwqdev/library/commons/injector/StaticInjectorInterface.java rename to commons/src/main/java/net/legacy/library/commons/injector/StaticInjectorInterface.java index acfc093..0732aab 100644 --- a/commons/src/main/java/me/qwqdev/library/commons/injector/StaticInjectorInterface.java +++ b/commons/src/main/java/net/legacy/library/commons/injector/StaticInjectorInterface.java @@ -1,4 +1,4 @@ -package me.qwqdev.library.commons.injector; +package net.legacy.library.commons.injector; /** * Interface for static injectors. diff --git a/commons/src/main/java/me/qwqdev/library/commons/injector/VarHandleReflectionInjector.java b/commons/src/main/java/net/legacy/library/commons/injector/VarHandleReflectionInjector.java similarity index 96% rename from commons/src/main/java/me/qwqdev/library/commons/injector/VarHandleReflectionInjector.java rename to commons/src/main/java/net/legacy/library/commons/injector/VarHandleReflectionInjector.java index 5878c15..09c468c 100644 --- a/commons/src/main/java/me/qwqdev/library/commons/injector/VarHandleReflectionInjector.java +++ b/commons/src/main/java/net/legacy/library/commons/injector/VarHandleReflectionInjector.java @@ -1,7 +1,8 @@ -package me.qwqdev.library.commons.injector; +package net.legacy.library.commons.injector; import io.fairyproject.container.InjectableComponent; -import me.qwqdev.library.commons.injector.annotation.VarHandleAutoInjection; +import net.legacy.library.commons.factory.InjectorFactory; +import net.legacy.library.commons.injector.annotation.VarHandleAutoInjection; import java.lang.invoke.MethodHandles; import java.lang.invoke.VarHandle; @@ -39,7 +40,7 @@ * dependencies (in this case, {@link VarHandle} instances) into static fields of a class. * * @author qwq-dev - * @see me.qwqdev.library.commons.factory.InjectorFactory + * @see InjectorFactory * @since 2024-12-23 16:15 */ @InjectableComponent diff --git a/commons/src/main/java/me/qwqdev/library/commons/injector/annotation/VarHandleAutoInjection.java b/commons/src/main/java/net/legacy/library/commons/injector/annotation/VarHandleAutoInjection.java similarity index 95% rename from commons/src/main/java/me/qwqdev/library/commons/injector/annotation/VarHandleAutoInjection.java rename to commons/src/main/java/net/legacy/library/commons/injector/annotation/VarHandleAutoInjection.java index bc2423b..660fe3b 100644 --- a/commons/src/main/java/me/qwqdev/library/commons/injector/annotation/VarHandleAutoInjection.java +++ b/commons/src/main/java/net/legacy/library/commons/injector/annotation/VarHandleAutoInjection.java @@ -1,4 +1,4 @@ -package me.qwqdev.library.commons.injector.annotation; +package net.legacy.library.commons.injector.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/commons/src/main/java/me/qwqdev/library/commons/task/TaskInterface.java b/commons/src/main/java/net/legacy/library/commons/task/TaskInterface.java similarity index 99% rename from commons/src/main/java/me/qwqdev/library/commons/task/TaskInterface.java rename to commons/src/main/java/net/legacy/library/commons/task/TaskInterface.java index 6188cc9..3b796af 100644 --- a/commons/src/main/java/me/qwqdev/library/commons/task/TaskInterface.java +++ b/commons/src/main/java/net/legacy/library/commons/task/TaskInterface.java @@ -1,4 +1,4 @@ -package me.qwqdev.library.commons.task; +package net.legacy.library.commons.task; import io.fairyproject.mc.scheduler.MCScheduler; import io.fairyproject.mc.scheduler.MCSchedulers; diff --git a/commons/src/main/java/me/qwqdev/library/commons/task/annotation/TaskAutoStartAnnotation.java b/commons/src/main/java/net/legacy/library/commons/task/annotation/TaskAutoStartAnnotation.java similarity index 85% rename from commons/src/main/java/me/qwqdev/library/commons/task/annotation/TaskAutoStartAnnotation.java rename to commons/src/main/java/net/legacy/library/commons/task/annotation/TaskAutoStartAnnotation.java index 4d8ce4b..3eee349 100644 --- a/commons/src/main/java/me/qwqdev/library/commons/task/annotation/TaskAutoStartAnnotation.java +++ b/commons/src/main/java/net/legacy/library/commons/task/annotation/TaskAutoStartAnnotation.java @@ -1,6 +1,6 @@ -package me.qwqdev.library.commons.task.annotation; +package net.legacy.library.commons.task.annotation; -import me.qwqdev.library.commons.task.TaskInterface; +import net.legacy.library.commons.task.TaskInterface; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; @@ -13,7 +13,7 @@ * *
When a class annotated with {@link TaskAutoStartAnnotation} is detected, * the {@link TaskAutoStartAnnotationProcessor} will automatically call its {@link TaskInterface#start()} method - * (assuming it implements {@link me.qwqdev.library.commons.task.TaskInterface}). + * (assuming it implements {@link TaskInterface}). * *
Once the annotation processor detects the above class, it will instantiate * and invoke its {@link TaskInterface#start()} method, ensuring tasks are automatically initialized. diff --git a/commons/src/main/java/me/qwqdev/library/commons/task/annotation/TaskAutoStartAnnotationProcessor.java b/commons/src/main/java/net/legacy/library/commons/task/annotation/TaskAutoStartAnnotationProcessor.java similarity index 91% rename from commons/src/main/java/me/qwqdev/library/commons/task/annotation/TaskAutoStartAnnotationProcessor.java rename to commons/src/main/java/net/legacy/library/commons/task/annotation/TaskAutoStartAnnotationProcessor.java index 39a2990..072fea1 100644 --- a/commons/src/main/java/me/qwqdev/library/commons/task/annotation/TaskAutoStartAnnotationProcessor.java +++ b/commons/src/main/java/net/legacy/library/commons/task/annotation/TaskAutoStartAnnotationProcessor.java @@ -1,10 +1,10 @@ -package me.qwqdev.library.commons.task.annotation; +package net.legacy.library.commons.task.annotation; import io.fairyproject.container.Containers; import io.fairyproject.log.Log; -import me.qwqdev.library.annotation.service.AnnotationProcessor; -import me.qwqdev.library.annotation.service.CustomAnnotationProcessor; -import me.qwqdev.library.commons.task.TaskInterface; +import net.legacy.library.annotation.service.AnnotationProcessor; +import net.legacy.library.annotation.service.CustomAnnotationProcessor; +import net.legacy.library.commons.task.TaskInterface; /** * The {@link TaskAutoStartAnnotationProcessor} is responsible for processing diff --git a/configuration/README.md b/configuration/README.md index 41a6892..9b4dcbd 100644 --- a/configuration/README.md +++ b/configuration/README.md @@ -10,10 +10,10 @@ safely in a multi-threaded environment. // Dependencies dependencies { // annotation module - compileOnly("me.qwqdev.library:annotation:1.0-SNAPSHOT") + compileOnly("net.legacy.library:annotation:1.0-SNAPSHOT") // configuration module - compileOnly("me.qwqdev.library:configuration:1.0-SNAPSHOT") + compileOnly("net.legacy.library:configuration:1.0-SNAPSHOT") } ``` diff --git a/configuration/gradle.properties b/configuration/gradle.properties index e61f905..49bc499 100644 --- a/configuration/gradle.properties +++ b/configuration/gradle.properties @@ -1,3 +1,3 @@ # configuration -package=me.qwqdev.library.configuration +package=net.legacy.library.configuration name=configuration \ No newline at end of file diff --git a/configuration/src/main/java/me/qwqdev/library/configuration/ConfigurationLauncher.java b/configuration/src/main/java/net/legacy/library/configuration/ConfigurationLauncher.java similarity index 88% rename from configuration/src/main/java/me/qwqdev/library/configuration/ConfigurationLauncher.java rename to configuration/src/main/java/net/legacy/library/configuration/ConfigurationLauncher.java index 7ae1485..1610fba 100644 --- a/configuration/src/main/java/me/qwqdev/library/configuration/ConfigurationLauncher.java +++ b/configuration/src/main/java/net/legacy/library/configuration/ConfigurationLauncher.java @@ -1,4 +1,4 @@ -package me.qwqdev.library.configuration; +package net.legacy.library.configuration; import io.fairyproject.FairyLaunch; import io.fairyproject.container.InjectableComponent; diff --git a/configuration/src/main/java/me/qwqdev/library/configuration/factory/SimplixBuilderFactory.java b/configuration/src/main/java/net/legacy/library/configuration/factory/SimplixBuilderFactory.java similarity index 98% rename from configuration/src/main/java/me/qwqdev/library/configuration/factory/SimplixBuilderFactory.java rename to configuration/src/main/java/net/legacy/library/configuration/factory/SimplixBuilderFactory.java index 873a802..ef230a9 100644 --- a/configuration/src/main/java/me/qwqdev/library/configuration/factory/SimplixBuilderFactory.java +++ b/configuration/src/main/java/net/legacy/library/configuration/factory/SimplixBuilderFactory.java @@ -1,4 +1,4 @@ -package me.qwqdev.library.configuration.factory; +package net.legacy.library.configuration.factory; import de.leonhard.storage.SimplixBuilder; import de.leonhard.storage.internal.settings.ConfigSettings; diff --git a/configuration/src/main/java/me/qwqdev/library/configuration/serialize/annotation/SimplixSerializerSerializableAutoRegister.java b/configuration/src/main/java/net/legacy/library/configuration/serialize/annotation/SimplixSerializerSerializableAutoRegister.java similarity index 84% rename from configuration/src/main/java/me/qwqdev/library/configuration/serialize/annotation/SimplixSerializerSerializableAutoRegister.java rename to configuration/src/main/java/net/legacy/library/configuration/serialize/annotation/SimplixSerializerSerializableAutoRegister.java index 0c58fea..25387b0 100644 --- a/configuration/src/main/java/me/qwqdev/library/configuration/serialize/annotation/SimplixSerializerSerializableAutoRegister.java +++ b/configuration/src/main/java/net/legacy/library/configuration/serialize/annotation/SimplixSerializerSerializableAutoRegister.java @@ -1,4 +1,4 @@ -package me.qwqdev.library.configuration.serialize.annotation; +package net.legacy.library.configuration.serialize.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/configuration/src/main/java/me/qwqdev/library/configuration/serialize/annotation/SimplixSerializerSerializableAutoRegisterProcessor.java b/configuration/src/main/java/net/legacy/library/configuration/serialize/annotation/SimplixSerializerSerializableAutoRegisterProcessor.java similarity index 85% rename from configuration/src/main/java/me/qwqdev/library/configuration/serialize/annotation/SimplixSerializerSerializableAutoRegisterProcessor.java rename to configuration/src/main/java/net/legacy/library/configuration/serialize/annotation/SimplixSerializerSerializableAutoRegisterProcessor.java index a99fc12..163dcf9 100644 --- a/configuration/src/main/java/me/qwqdev/library/configuration/serialize/annotation/SimplixSerializerSerializableAutoRegisterProcessor.java +++ b/configuration/src/main/java/net/legacy/library/configuration/serialize/annotation/SimplixSerializerSerializableAutoRegisterProcessor.java @@ -1,10 +1,10 @@ -package me.qwqdev.library.configuration.serialize.annotation; +package net.legacy.library.configuration.serialize.annotation; import de.leonhard.storage.internal.serialize.SimplixSerializable; import de.leonhard.storage.internal.serialize.SimplixSerializer; import io.fairyproject.log.Log; -import me.qwqdev.library.annotation.service.AnnotationProcessor; -import me.qwqdev.library.annotation.service.CustomAnnotationProcessor; +import net.legacy.library.annotation.service.AnnotationProcessor; +import net.legacy.library.annotation.service.CustomAnnotationProcessor; /** * The type Simplix serializer serializable auto register processor. diff --git a/gradle.properties b/gradle.properties index 28b5730..2a75b36 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -group=me.qwqdev.library -package=me.qwqdev.library +group=net.legacy.library +package=net.legacy.library version=1.0-SNAPSHOT spigot.version = 1.20.6 \ No newline at end of file diff --git a/mongodb/README.md b/mongodb/README.md index 944e7d9..9ca15de 100644 --- a/mongodb/README.md +++ b/mongodb/README.md @@ -16,7 +16,7 @@ For the first and second level cache, it is actually implemented in the cache mo // Dependencies dependencies { // mongodb module - compileOnly("me.qwqdev.library:mongodb:1.0-SNAPSHOT") + compileOnly("net.legacy.library:mongodb:1.0-SNAPSHOT") } ``` diff --git a/mongodb/gradle.properties b/mongodb/gradle.properties index 0ac47ef..befb72b 100644 --- a/mongodb/gradle.properties +++ b/mongodb/gradle.properties @@ -1,3 +1,3 @@ # mongodb -package=me.qwqdev.library.mongodb +package=net.legacy.library.mongodb name=mongodb \ No newline at end of file diff --git a/mongodb/src/main/java/me/qwqdev/library/mongodb/MongoLauncher.java b/mongodb/src/main/java/net/legacy/library/mongodb/MongoLauncher.java similarity index 89% rename from mongodb/src/main/java/me/qwqdev/library/mongodb/MongoLauncher.java rename to mongodb/src/main/java/net/legacy/library/mongodb/MongoLauncher.java index 72ed74a..f584ec0 100644 --- a/mongodb/src/main/java/me/qwqdev/library/mongodb/MongoLauncher.java +++ b/mongodb/src/main/java/net/legacy/library/mongodb/MongoLauncher.java @@ -1,4 +1,4 @@ -package me.qwqdev.library.mongodb; +package net.legacy.library.mongodb; import io.fairyproject.FairyLaunch; import io.fairyproject.container.InjectableComponent; diff --git a/mongodb/src/main/java/me/qwqdev/library/mongodb/factory/MongoDBConnectionConfigFactory.java b/mongodb/src/main/java/net/legacy/library/mongodb/factory/MongoDBConnectionConfigFactory.java similarity index 95% rename from mongodb/src/main/java/me/qwqdev/library/mongodb/factory/MongoDBConnectionConfigFactory.java rename to mongodb/src/main/java/net/legacy/library/mongodb/factory/MongoDBConnectionConfigFactory.java index 2c0c4ed..d9870df 100644 --- a/mongodb/src/main/java/me/qwqdev/library/mongodb/factory/MongoDBConnectionConfigFactory.java +++ b/mongodb/src/main/java/net/legacy/library/mongodb/factory/MongoDBConnectionConfigFactory.java @@ -1,8 +1,8 @@ -package me.qwqdev.library.mongodb.factory; +package net.legacy.library.mongodb.factory; import com.mongodb.MongoClientSettings; import lombok.experimental.UtilityClass; -import me.qwqdev.library.mongodb.model.MongoDBConnectionConfig; +import net.legacy.library.mongodb.model.MongoDBConnectionConfig; import org.bson.UuidRepresentation; /** diff --git a/mongodb/src/main/java/me/qwqdev/library/mongodb/model/MongoDBConnectionConfig.java b/mongodb/src/main/java/net/legacy/library/mongodb/model/MongoDBConnectionConfig.java similarity index 98% rename from mongodb/src/main/java/me/qwqdev/library/mongodb/model/MongoDBConnectionConfig.java rename to mongodb/src/main/java/net/legacy/library/mongodb/model/MongoDBConnectionConfig.java index e998328..665fa53 100644 --- a/mongodb/src/main/java/me/qwqdev/library/mongodb/model/MongoDBConnectionConfig.java +++ b/mongodb/src/main/java/net/legacy/library/mongodb/model/MongoDBConnectionConfig.java @@ -1,4 +1,4 @@ -package me.qwqdev.library.mongodb.model; +package net.legacy.library.mongodb.model; import com.mongodb.ConnectionString; import com.mongodb.MongoClientSettings;