Skip to content

Commit

Permalink
Added core module
Browse files Browse the repository at this point in the history
  • Loading branch information
Lenni0451 committed Jan 8, 2024
1 parent 2883c4f commit 3d81cfa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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.\
Expand Down
3 changes: 3 additions & 0 deletions commons-core/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dependencies {
api project(":commons-main")
}
1 change: 1 addition & 0 deletions commons-core/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
maven_name=core

0 comments on commit 3d81cfa

Please sign in to comment.