From 871b320f6cea8df242ac89c01206a4198c40c14c Mon Sep 17 00:00:00 2001 From: xHyroM Date: Fri, 4 Aug 2023 16:43:55 +0200 Subject: [PATCH] feat(common): use configurate for config [wip] not finished, just starting --- common/build.gradle.kts | 2 ++ .../main/java/dev/xhyrom/lighteco/common/config/Config.java | 4 ++++ .../main/java/dev/xhyrom/lighteco/common/package-info.java | 4 ++++ 3 files changed, 10 insertions(+) create mode 100644 common/src/main/java/dev/xhyrom/lighteco/common/config/Config.java create mode 100644 common/src/main/java/dev/xhyrom/lighteco/common/package-info.java diff --git a/common/build.gradle.kts b/common/build.gradle.kts index b3736fe..1c8e46f 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -5,6 +5,8 @@ plugins { dependencies { api(project(":lighteco-api")) + implementation("org.spongepowered:configurate-yaml:4.0.0") + compileOnly("org.projectlombok:lombok:1.18.28") annotationProcessor("org.projectlombok:lombok:1.18.28") diff --git a/common/src/main/java/dev/xhyrom/lighteco/common/config/Config.java b/common/src/main/java/dev/xhyrom/lighteco/common/config/Config.java new file mode 100644 index 0000000..99f54d6 --- /dev/null +++ b/common/src/main/java/dev/xhyrom/lighteco/common/config/Config.java @@ -0,0 +1,4 @@ +package dev.xhyrom.lighteco.common.config; + +public class Config { +} diff --git a/common/src/main/java/dev/xhyrom/lighteco/common/package-info.java b/common/src/main/java/dev/xhyrom/lighteco/common/package-info.java new file mode 100644 index 0000000..38a7213 --- /dev/null +++ b/common/src/main/java/dev/xhyrom/lighteco/common/package-info.java @@ -0,0 +1,4 @@ +/** + * Common classes used by all platform-specific implementations. + */ +package dev.xhyrom.lighteco.common; \ No newline at end of file