依赖调整

This commit is contained in:
hubin 2024-07-12 17:25:36 +08:00
parent 46f0aeb480
commit 9f29fe5d34
7 changed files with 37 additions and 33 deletions

View File

@ -2,7 +2,7 @@
buildscript {
ext {
springBootVersion = "2.7.0"
mybatisPlusVersion = "3.5.5"
mybatisPlusVersion = "3.5.7"
solonVersion = "2.7.2"
}
@ -71,7 +71,7 @@ subprojects {
dependency("mysql:mysql-connector-java:8.0.33")
// orm db
dependency("com.baomidou:mybatis-plus-boot-starter:${mybatisPlusVersion}")
dependency("com.baomidou:mybatis-plus-spring-boot3-starter:${mybatisPlusVersion}")
dependency("com.baomidou:mybatis-plus-core:${mybatisPlusVersion}")
}

View File

@ -13,19 +13,4 @@
<artifactId>flowlong-core</artifactId>
<description>flowlong core</description>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
</dependency>
</dependencies>
</project>

View File

@ -4,7 +4,7 @@ dependencies {
implementation project(":flowlong-spring-boot-starter")
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.boot:spring-boot-starter-jdbc")
implementation("com.baomidou:mybatis-plus-boot-starter")
implementation("com.baomidou:mybatis-plus-spring-boot3-starter")
implementation("mysql:mysql-connector-java")
}

View File

@ -30,7 +30,7 @@
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<artifactId>mybatis-plus-spring-boot3-starter</artifactId>
</dependency>
<dependency>
<groupId>mysql</groupId>

View File

@ -3,7 +3,7 @@ description "flowLong mybatis-plus spring-boot starter"
dependencies {
api project(":flowlong-mybatis-plus")
implementation("com.baomidou:mybatis-plus-boot-starter")
implementation("com.baomidou:mybatis-plus-spring-boot3-starter")
compileOnly("org.springframework.boot:spring-boot-starter-web")
compileOnly("org.springframework.boot:spring-boot-autoconfigure")

View File

@ -19,6 +19,12 @@
<artifactId>flowlong-mybatis-plus</artifactId>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-spring-boot3-starter</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
@ -35,20 +41,15 @@
<scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-extension</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-json</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>

22
pom.xml
View File

@ -19,7 +19,7 @@
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<spring-boot.version>2.7.0</spring-boot.version>
<mybatis.plus-version>3.5.3.2</mybatis.plus-version>
<mybatis.plus-version>3.5.7</mybatis.plus-version>
<mysql.version>8.0.32</mysql.version>
<solon.version>2.7.2</solon.version>
<maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version>
@ -65,7 +65,7 @@
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<artifactId>mybatis-plus-spring-boot3-starter</artifactId>
<version>${mybatis.plus-version}</version>
</dependency>
<dependency>
@ -82,6 +82,24 @@
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>central</id>