Ecosyste.ms: Awesome
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: about 1 month 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 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-26T08:14:21.000Z (about 2 months ago)
- Last Synced: 2024-09-29T23:05:53.833Z (about 2 months ago)
- Topics: java, java-8, lombok, mapstruct, sl4j
- Language: Java
- Homepage: https://api.mobaijun.com
- Size: 4.17 MB
- Stars: 10
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
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 developed based on Java. It encapsulates tools commonly used in project development and aims to improve the development efficiency and code quality of Java developers.
This project integrates excellent open source tools commonly used in projects:
- 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
- Provides many commonly used utility functions and extension functions, such as string operations, set operations, date and time operations, etc.
- Stream processing tool classes and file tool classes are provided to improve the robustness and readability of the code.
- All tool functions and tool classes have been strictly tested and documented, and can be used with confidence.## develop
> This project plans to support JDK 17 and above in version 2.0. Versions below 2.0 are based on JDK 8. This means that future 2.X versions will not be compatible with projects below JDK 17. If
> It is recommended that projects within JDK 17 or below use versions below 2.0## Example
Test case address:[Test case address](https://github.com/mobaijun/kjs-common/tree/main/src/test/java/com/mobaijun/common)
> All dependent modules will be updated to the latest version simultaneously
## quick start
You can use`kjs-common`Add to your project as dependency.
### maven
If you are using Maven, add the following to your`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 would like to contribute code or make suggestions, please 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 contributions from anyone. Please read our[Contribution Guide](https://github.com/april-projects/april-norm/blob/main/README.md)。
## license
`kjs-common`is based on Apache
Developed under license, please check for details[LICENSE](https://github.com/mobaijun/kjs-common/blob/main/LICENSE.txt)document.## author
- [@ Mobaijun](https://github.com/mobaijun)
## Documentation and examples
We provide unit testing[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")
## Acknowledgments
Thank you for using`kjs-common`, we will continue to work hard to provide developers with a better tool library.