From 3d81cfa26e61e0d513eac140ef7411cbd40cff72 Mon Sep 17 00:00:00 2001 From: Lenni0451 <20379977+Lenni0451@users.noreply.github.com> Date: Mon, 8 Jan 2024 18:25:21 +0100 Subject: [PATCH] Added core module --- README.MD | 5 +++-- commons-core/build.gradle | 3 +++ commons-core/gradle.properties | 1 + 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 commons-core/build.gradle create mode 100644 commons-core/gradle.properties diff --git a/README.MD b/README.MD index 27178ce..b543f2d 100644 --- a/README.MD +++ b/README.MD @@ -2,7 +2,8 @@ A java library with many useful functions and classes.\ The idea is to put similar classes and utils into one subpackage category like `network` or `collections`.\ When there are enough utils in one category, they will be moved into a separate module. -I will keep the package structure, so you only have to add a new module to your project. +I will keep the package structure, so you only have to add a new module to your project.\ +If you don't want to add new modules, you can use the `core` module which contains all `main` utils even if they are split at some point. ## Usage To use `commons` in your project, you have the following options: @@ -13,7 +14,7 @@ repositories { } dependencies { - implementation "net.lenni0451.commons:all:x.x.x" + implementation "net.lenni0451.commons:core:x.x.x" } ```` Check my [maven server](https://maven.lenni0451.net/#/releases/net/lenni0451/commons) for the latest version.\ diff --git a/commons-core/build.gradle b/commons-core/build.gradle new file mode 100644 index 0000000..679bd37 --- /dev/null +++ b/commons-core/build.gradle @@ -0,0 +1,3 @@ +dependencies { + api project(":commons-main") +} diff --git a/commons-core/gradle.properties b/commons-core/gradle.properties new file mode 100644 index 0000000..72ca9ce --- /dev/null +++ b/commons-core/gradle.properties @@ -0,0 +1 @@ +maven_name=core