<dependency>
<groupId>com.mogudiandian</groupId>
<artifactId>sharding-datasource</artifactId>
<version>1.0.1</version>
</dependency>
@Grapes(
@Grab(group='com.mogudiandian', module='sharding-datasource', version='1.0.1')
)
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.3.4.RELEASE</version> </parent>
compile
|-- org.springframework.boot:spring-boot-starter-jdbc
|-- org.apache.shardingsphere:sharding-jdbc-core:4.1.1
|-- org.apache.commons:commons-lang3:3.11
|-- org.projectlombok:lombok:1.18.16
test