An open API service indexing awesome lists of open source software.

https://github.com/mobaijun/kjs-common

Java 工具类库
https://github.com/mobaijun/kjs-common

java java-8 lombok mapstruct sl4j

Last synced: 2 days ago
JSON representation

Java 工具类库

Awesome Lists containing this project

README

          


kjs-common



JAVA开发,常用工具集(默认集成Lombok,MapStruct )




kjs-common


apache


jdk


github star


profile

## Other languages

- [English](README.en.md)

## Overview

kjs-common ,是一个基于 Java 开发的工具类库,对项目开发中常用的工具进行封装,旨在提高 Java 开发者的开发效率和代码质量。

This project integrates excellent open source tools commonly used in the project:

- lombok (simplified entity class)
- mapstruct (simplifies parameter passing)

Target:`无侵入性`,`轻量级`,`常用功能`,`无数次测试`,`不断完善`

> Note: kjs-common is developed based on JDK1.8. If your JDK version is too low, please find the corresponding tool class, copy the relevant code, and use it.

## Functions and features

- 提供了许多常用的工具函数和扩展函数,例如字符串操作、集合操作、日期和时间操作等。
- Stream processing tool classes and file tool classes are provided to improve the robustness and readability of your code.
- All tool functions and tool classes have been strictly tested and documented and can be used with confidence.

## develop

> This project is planned to support JDK 17 and above in version 2.0, and JDK 8 is the cornerstone of the version within 2.0, which means that the future 2.X version will not be compatible with projects below JDK 17, if it is
> Recommended to use versions below 2.0 for projects under JDK 17

## Example

Test case address:[Test case address](https://github.com/mobaijun/kjs-common/tree/main/src/test/java/com/mobaijun/common)

> All dependency modules will be updated synchronously

## Start quickly

You can`kjs-common`Add to your project as a dependency.

### maven

If you are using Maven, please add the following to yours`pom.xml`In the file:

```xml

com.mobaijun
kjs-common
${latest.version}

```

### Gradle

In Gradle, you can add the following to your`build.gradle`In the file:

```json
dependencies {
implementation 'com.mobaijun:kjs-common:latest.version'
}
```

### Central warehouse

This warehouse has been released simultaneously[maven central warehouse](https://mvnrepository.com/artifact/com.mobaijun/kjs-common), welcome to use, welcome to start

## contribute

If you want to contribute your code or make suggestions, follow these steps:

1. Fork this warehouse
2. Create your branch (`git checkout -b feature/AmazingFeature`)
3. Submit your changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

Please note that we are an open source community and we welcome any contribution from anyone. Please read ours carefully before submitting your contribution[Contribution Guide](https://github.com/april-projects/april-norm/blob/main/README.md)。

## 许可证

`kjs-common`Based on Apache
License developed, please check for details[LICENSE](https://github.com/mobaijun/kjs-common/blob/main/LICENSE.txt)document.

## author

- [@Mo Baijun](https://github.com/mobaijun)

## Documentation and Examples

We provide unit tests[Sample Project](https://github.com/mobaijun/kjs-common/tree/main/src/test/java/com/mobaijun/common/test)to help you better understand and use the library.

## trend

![](https://starchart.cc/mobaijun/kjs-common.svg)

## state

![Repobeats analytics](https://repobeats.axiom.co/api/embed/c6b9508b383c2d1c0f1d01b6d3568d5240482f7c.svg "Repobeats analytics image")

## Acknowledgements

Thank you for using it`kjs-common`, we will continue to work hard to provide developers with a better library of tools.