feat(build): 重构项目并添加 Maven 发布支持

- 更新 .gitignore 文件,添加 secret.gpg
- 移除 .prettierrc 文件
- 重构 AES 加密工具类,使用新的 Base64 实现
- 新增 Base16、Base64 和 Base91 编解码工具类
- 新增 BaseCodec接口和 BaseUtils 工具类
- 更新 build.gradle.kts 配置,添加 Maven 发布和签名
- 修复 ByteUtils 和 DateTime 工具类中的问题
- 重构 UUID 使用自己的实现 不依赖标准库以及其他的 UUID库
This commit is contained in:
2025-09-17 11:12:10 +08:00
parent 541a8a82b4
commit fcd528a821
24 changed files with 1433 additions and 417 deletions
@@ -16,7 +16,7 @@
* ProjectName mingli-utils
* ModuleName mingli-utils.main
* CurrentFile JsonTypeUtils.kt
* LastUpdate 2025-09-15 22:04:54
* LastUpdate 2025-09-17 11:12:06
* UpdateUser MingLiPro
*/
@file:JvmName("JsonTypeUtils")
@@ -177,11 +177,11 @@ fun <K, V> MapType(keyType: Class<K>, valueType: Class<V>): JsonTypeReference<Ma
return null
}
override fun equals(obj: Any?): Boolean {
if (this === obj) return true
if (obj !is ParameterizedType) return false
override fun equals(other: Any?): Boolean {
if (this === other) return true
if (other !is ParameterizedType) return false
val that = obj
val that = other
return (Objects.equals(
rawType,
that.rawType