Installation
Maven
xml
<!-- Use the following dependency directly for SpringBoot/Grails projects -->
<dependency>
<groupId>cn.zhxu</groupId>
<artifactId>bean-searcher-boot-starter</artifactId>
<version>4.4.1</version>
</dependency>
xml
<!-- Use the following dependency directly for SpringBoot/Grails projects -->
<dependency>
<groupId>cn.zhxu</groupId>
<artifactId>bean-searcher-boot-starter</artifactId>
<version>4.4.1</version>
</dependency>
xml
<!-- Use the following dependency directly for Solon projects (equivalent to bean-searcher-boot-starter) -->
<dependency>
<groupId>cn.zhxu</groupId>
<artifactId>bean-searcher-solon-plugin</artifactId>
<version>4.4.1</version>
</dependency>
xml
<!-- Core dependency of Bean Searcher, compatible with any Java framework -->
<dependency>
<groupId>cn.zhxu</groupId>
<artifactId>bean-searcher</artifactId>
<version>4.4.1</version>
</dependency>
Gradle
groovy
// Use the following dependency directly for SpringBoot/Grails projects
implementation 'cn.zhxu:bean-searcher-boot-starter:4.4.1'
groovy
// Use the following dependency directly for SpringBoot/Grails projects
implementation 'cn.zhxu:bean-searcher-boot-starter:4.4.1'
groovy
// Use the following dependency directly for Solon projects (equivalent to bean-searcher-boot-starter)
implementation 'cn.zhxu:bean-searcher-solon-plugin:4.4.1'
groovy
// Core dependency of Bean Searcher, compatible with any framework
implementation 'cn.zhxu:bean-searcher:4.4.1'
提示
- Versions
v3.0.0 ~ v3.0.4
andv3.1.0 ~ v3.1.2
ofbean-searcher-boot-starter
supportspring-boot [v2.0, v3.0)
. Other versions beforev4.0
supportspring-boot [v1.4+, v3.0)
. Versions afterv4.0
supportspring-boot v1.4+
(includingspring-boot v3.x
) with broader compatibility. - The
bean-searcher-solon-plugin
dependency supportssolon v2.2.1+
.
注意
For Grails projects using the bean-searcher-boot-starter
dependency, you must use versions v3.1.4+
, v3.2.3+
, or v3.3.1+
(i.e., versions in the ranges v3.1.3-
, v3.2.0 ~ v3.2.2
, or v3.3.0
are not supported for Grails).