From c51fec727dc9dc29e9284ff8216cd014c0176197 Mon Sep 17 00:00:00 2001 From: Voinea Radu Date: Sat, 7 Sep 2024 21:47:21 +0300 Subject: [PATCH] Added module-info.java --- gradle/libs.versions.toml | 2 +- .../file_manager/{manager => }/FileManager.java | 2 +- .../java/com.voinearadu/redis_manager/Main.java | 2 +- src/main/java/module-info.java | 17 +++++++++++++++++ .../file_manager/FileManagerTests.java | 1 - 5 files changed, 20 insertions(+), 4 deletions(-) rename src/main/java/com.voinearadu/file_manager/{manager => }/FileManager.java (99%) create mode 100644 src/main/java/module-info.java diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 2cfbda4..dec99da 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -version = "1.0.2" +version = "1.1.-1" group = "com.voinearadu" [plugins] diff --git a/src/main/java/com.voinearadu/file_manager/manager/FileManager.java b/src/main/java/com.voinearadu/file_manager/FileManager.java similarity index 99% rename from src/main/java/com.voinearadu/file_manager/manager/FileManager.java rename to src/main/java/com.voinearadu/file_manager/FileManager.java index a098dbf..374bd94 100644 --- a/src/main/java/com.voinearadu/file_manager/manager/FileManager.java +++ b/src/main/java/com.voinearadu/file_manager/FileManager.java @@ -1,4 +1,4 @@ -package com.voinearadu.file_manager.manager; +package com.voinearadu.file_manager; import com.google.gson.Gson; import com.voinearadu.file_manager.utils.DateUtils; diff --git a/src/main/java/com.voinearadu/redis_manager/Main.java b/src/main/java/com.voinearadu/redis_manager/Main.java index 1a43504..63ae26c 100644 --- a/src/main/java/com.voinearadu/redis_manager/Main.java +++ b/src/main/java/com.voinearadu/redis_manager/Main.java @@ -3,7 +3,7 @@ import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.voinearadu.event_manager.EventManager; -import com.voinearadu.file_manager.manager.FileManager; +import com.voinearadu.file_manager.FileManager; import com.voinearadu.message_builder.MessageBuilderManager; import com.voinearadu.redis_manager.dto.RedisConfig; import com.voinearadu.redis_manager.manager.DebugRedisManager; diff --git a/src/main/java/module-info.java b/src/main/java/module-info.java new file mode 100644 index 0000000..4e7836a --- /dev/null +++ b/src/main/java/module-info.java @@ -0,0 +1,17 @@ +module com.voinearadu.utils { + exports com.voinearadu.event_manager; + exports com.voinearadu.file_manager; + exports com.voinearadu.lambda; + exports com.voinearadu.logger; + exports com.voinearadu.message_builder; + exports com.voinearadu.redis_manager; + exports com.voinearadu.reflections; + + requires static lombok; + requires static org.jetbrains.annotations; + requires static com.google.gson; + requires static org.apache.commons.io; + requires static org.slf4j; + requires static redis.clients.jedis; + requires static org.apache.commons.pool2; +} \ No newline at end of file diff --git a/src/test/java/com/voinearadu/file_manager/FileManagerTests.java b/src/test/java/com/voinearadu/file_manager/FileManagerTests.java index cbc2605..bcf94f3 100644 --- a/src/test/java/com/voinearadu/file_manager/FileManagerTests.java +++ b/src/test/java/com/voinearadu/file_manager/FileManagerTests.java @@ -3,7 +3,6 @@ import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.voinearadu.file_manager.dto.files.FileObject; -import com.voinearadu.file_manager.manager.FileManager; import org.apache.log4j.BasicConfigurator; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll;