mingli-utils/gradle.properties
minglipro 2c29e40e47
All checks were successful
Gitea Actions Build / Build (push) Successful in 1m1s
refactor(JsonApiAutoConfiguration): 优化JsonApi自动配置类的导入和条件注解在JsonApiAutoConfiguration类中,移除了未使用的直接导入语句,并将@ConditionalOnClass注解中的类名改为全限定名字符串形式。这样可以避免即使没有实际使用到这些类时也加载它们的情况,从而提高启动效率。同时,对方法参数类型进行了明确指定,增强了代码可读性。
- 移除了`ObjectMapper`, `Gson`, `GsonJsonApi` 和 `JacksonJsonApi` 的直接导入。
- 将`@ConditionalOnClass`注解中的类名改为全限定名字符串形式。
- 对`jacksonJsonApi`和`gsonJsonApi`方法的参数类型进行了明确指定。
2025-09-11 16:55:14 +08:00

26 lines
807 B
Properties

#
# Copyright 2025 mingliqiye
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# ProjectName mingli-utils
# ModuleName mingli-utils
# CurrentFile gradle.properties
# LastUpdate 2025-09-09 09:34:12
# UpdateUser MingLiPro
#
JDKVERSIONS=1.8
GROUPSID=com.mingliqiye.utils
ARTIFACTID=mingli-utils
VERSIONS=3.1.5