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 工具类库
- Host: GitHub
- URL: https://github.com/mobaijun/kjs-common
- Owner: mobaijun
- License: apache-2.0
- Created: 2022-02-27T06:57:39.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-07-03T05:46:56.000Z (3 months ago)
- Last Synced: 2025-07-20T16:05:02.064Z (3 months ago)
- Topics: java, java-8, lombok, mapstruct, sl4j
- Language: Java
- Homepage: https://api.mobaijun.com
- Size: 4.35 MB
- Stars: 11
- Watchers: 1
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.en.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
- Security: SECURITY.md
Awesome Lists containing this project
README
kjs-common
JAVA开发,常用工具集(默认集成Lombok,MapStruct )
## 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 RequestPlease 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

## state

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