This is an effort to modernize or optimize common operations in Java. The context is my recent post about my indecision in choosing a programming language for pet projects. Given that I have chosen possibly the least exciting of my options, I embark on an effort to change that.

JBelt
A utility belt for Java, packed with convenience quality of life features and optimizations.
Maven:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.raagnair</groupId>
<artifactId>jbelt</artifactId>
<version>Tag</version>
</dependency>Code language: HTML, XML (xml)
Gradle:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.raagnair:jbelt:Tag'
}Code language: JavaScript (javascript)
Admittedly, there is no rhyme or reason to which features I have crammed into this library. I imagine it like a literal utility belt, useful for many cases, intended to continue growing as other net-positive conveniences are added.
I will be using the #jbelt tag for all related write-ups.