GithubHelp home page GithubHelp logo

libcommon's Introduction

LibCommon Project

A set of some common useful libraries.

Since 3.0, members of libraries always based on JDK 17.

Add Dependencies

Add Maven Dependencies

<pom>
  <dependencyManagement>
    <dependencies>
      <!-- BOM -->
      <dependency>
        <groupId>com.github.fmjsjx</groupId>
        <artifactId>libcommon-bom</artifactId>
        <version>3.8.1</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <dependencies>
    <!-- Common Utility -->
    <dependency>
      <groupId>com.github.fmjsjx</groupId>
      <artifactId>libcommon-util</artifactId>
    </dependency>
    <!-- JSON library based on Jackson2 -->
    <dependency>
      <groupId>com.github.fmjsjx</groupId>
      <artifactId>libcommon-json-jackson2</artifactId>
    </dependency>
    <!-- JSON library based on Json-Iter -->
    <dependency>
      <groupId>com.github.fmjsjx</groupId>
      <artifactId>libcommon-json-jsoniter</artifactId>
    </dependency>
  </dependencies>
</pom>

Add Gradle Dependencies

Groovy DSL

repositories {
    mavenCentral
}

dependencies {
    // BOM
    implementation platform('com.github.fmjsjx:libcommon-bom:3.8.1')
    // Common Utility
    implementation 'com.github.fmjsjx:libcommon-util'
    // JSON library based on Fastjson2
    implementation 'com.github.fmjsjx:libcommon-json-fastjson2'
    // JSON library based on Jackson2
    implementation 'com.github.fmjsjx:libcommon-json-jackson2'
    // JSON library based on Json-Iter
    implementation 'com.github.fmjsjx:libcommon-json-jsoniter'
}

Kotlin DSL

repositories {
    mavenCentral()
}

dependencies {
    // BOM
    implementation(platform("com.github.fmjsjx:libcommon-bom:3.8.1"))
    // Common Utility
    implementation("com.github.fmjsjx:libcommon-util")
    // JSON library based on Fastjson2
    implementation("com.github.fmjsjx:libcommon-json-fastjson2")
    // JSON library based on Jackson2
    implementation("com.github.fmjsjx:libcommon-json-jackson2")
    // JSON library based on Json-Iter
    implementation("com.github.fmjsjx:libcommon-json-jsoniter")
}

Modules

There are a number of modules in LibCommon, here is a quick overview:

libcommon-util

The libcommon-util module provides some common utility classes.

libcommon-collection

The libcommon-collection module provides additional collection/map.

libcommon-function

The libcommon-function module provides additional functional interfaces.

libcommon-json

The libcommon-json module provides a library interface to encode/decode JSON.

libcommon-json-dsljson

The libcommon-json-dsljson module provides an implementation of libcommon-json based on DSL-JSON.

libcommon-json-fastjson2

The libcommon-json-fastjson2 module provides an implementation of libcommon-json based on Fastjson2.

libcommon-json-fastjson2-kotlin

The libcommon-json-fastjson2-kotlin module provides the kotlin extensions of libcommon-json-fastjson2.

libcommon-json-jackson2

The libcommon-json-jackson2 module provides an implementation of libcommon-json based on Jackson2.

libcommon-json-jackson2-kotlin

The libcommon-json-jackson2-kotlin module provides the kotlin extensions of libcommon-json-jackson2.

libcommon-json-jsoniter

The libcommon-json-jsoniter module provides an implementation of libcommon-json based on json-iterator.

libcommon-json-jsoniter-kotlin

The libcommon-json-jsoniter-kotlin module provides the kotlin extensions of libcommon-json-jsoniter.

libcommon-kotlin

The libcommon-kotlin module provides some utilitiy class for Kotlin.

libcommon-prometheus (legacy)

The libcommon-prometheus module provides Hotspot JVM metrics exports, that allow users set custom labels, based on prometheus simple client.

libcommon-prometheus-client

The libcommon-prometheus-client module provides Hotspot JVM metrics exports, that allow users set custom labels, based on prometheus client java.

libcommon-yaml

The libcommon-yaml module provides a library interface to encode/decode YAML, with the default implementation based on Jackson2.

libcommon-redis

The libcommon-redis module provides additional utility functions for Lettuce.

libcommon-redis-kotlin

The libcommon-redis-kotlin module provides the kotlin extensions of Lettuce.

libcommon-jdbc

The libcommon-util module provides additional utility functions for JDBC.

libcommon-aliyunons

The libcommon-aliyunons module provides additional utility functions for ALIYUN Open Services/RocketMQ.

libcommon-rocketmq

The libcommon-rocketmq module provides additional utility functions for RocketMQ.

libcommon-bson

The libcommon-bson module provides some additional utility functions for BSON.

libcommon-bson-kotlin

The libcommon-bson-kotlin module provides some additional kotlin extensions for BSON.

libcommon-uuid

The libcommon-uuid module provides additional implementations of UUID.

libcommon's People

Contributors

fmjsjx avatar

Stargazers

 avatar

Watchers

 avatar

libcommon's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.