Skip to content

A java library with many useful functions and classes

License

Notifications You must be signed in to change notification settings

Lenni0451/commons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

commons

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. If a part of a module is moved into a separate module, the previous module will depend on the new module to not break existing code.

Usage

To use commons using Gradle/Maven you can add it as a dependency to your project.
The latest version can be found in the releases.
My libraries are hosted on Maven Central or my own maven server.

Gradle

repositories {
    mavenCentral()
}

dependencies {
    implementation "net.lenni0451.commons:core:x.x.x"
}

Maven

<dependency>
  <groupId>net.lenni0451.commons</groupId>
  <artifactId>core</artifactId>
  <version>x.x.x</version>
</dependency>

Modules

The name of the module is the name of the maven artifact and the subpackage.
All modules which depend on external libraries require the library to be added manually to your project. This is done to allow you to choose the version of the library you want to use (only works if the version is ABI compatible).

Module Description Dependencies
animation Classes and utils for creating simple animations using easing functions. -
asm General purpose utilities for working with ASM. ObjectWeb ASM
brigadier Extras for making brigadier nicer to work with. Mojang brigadier
collections Additional collections and utilities for working with all kinds of collections. -
core The core module with many useful classes and utilities. collections
debugging Basics for debugging and profiling. -
functional Functional interfaces for common use cases. -
gson A wrapper for gson to make working with json elements easier. Gson
httpclient A http client which wraps around other client apis. -
netty Handlers and client/server implementations using netty. Netty
swing Utilities making creating UIs with swing easier. -

Special modules:

Module Description
all A module which includes all other modules.
main Deprecated Only for backwards compatibility.

About

A java library with many useful functions and classes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •