https://github.com/mobaijun/kjs-common
Java 工具类库
https://github.com/mobaijun/kjs-common
java java-8 lombok mapstruct sl4j
Last synced: 3 months 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-03-31T05:10:41.000Z (3 months ago)
- Last Synced: 2025-04-10T00:41:42.620Z (3 months ago)
- Topics: java, java-8, lombok, mapstruct, sl4j
- Language: Java
- Homepage: https://api.mobaijun.com
- Size: 4.33 MB
- Stars: 11
- Watchers: 1
- Forks: 5
- Open Issues: 1
-
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 is a tool library based on Java development. It encapsulates commonly used tools in project development, aiming to improve the development efficiency and code quality of Java developers.
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
- Many commonly used tool functions and extension functions are provided, such as string operations, collection operations, date and time operations, etc.
- 提供了 Stream 处理工具类和文件工具类,以提高代码的健壮性和可读性。
- 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)。
## license
`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.