41 lines
1.4 KiB
Groovy
41 lines
1.4 KiB
Groovy
|
|
plugins {
|
|||
|
|
id 'java'
|
|||
|
|
id 'org.springframework.boot' version '2.7.0'
|
|||
|
|
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
group 'com.hongliang.videotask'
|
|||
|
|
version '1.0-SNAPSHOT'
|
|||
|
|
|
|||
|
|
sourceCompatibility = 1.8
|
|||
|
|
|
|||
|
|
repositories {
|
|||
|
|
mavenCentral()
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
dependencies {
|
|||
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|||
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test' // Spring Boot测试模块
|
|||
|
|
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.1.4' // MyBatis Spring Boot Starter的最新版本为2.1.4
|
|||
|
|
implementation 'org.mybatis:mybatis:3.5.8'
|
|||
|
|
implementation 'org.mybatis:mybatis-spring:2.0.6'
|
|||
|
|
implementation 'mysql:mysql-connector-java:8.0.26' // MySQL Connector
|
|||
|
|
|
|||
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
|
|||
|
|
implementation 'com.alibaba:druid:1.1.10'
|
|||
|
|
implementation 'com.alibaba:druid-spring-boot-starter:1.1.10'
|
|||
|
|
|
|||
|
|
implementation 'com.alibaba:fastjson:1.2.67'
|
|||
|
|
|
|||
|
|
compile "org.projectlombok:lombok:1.18.6"
|
|||
|
|
compileOnly 'org.projectlombok:lombok:1.18.6'
|
|||
|
|
annotationProcessor 'org.projectlombok:lombok:1.18.6'
|
|||
|
|
|
|||
|
|
// Sa-Token 权限认证,在线文档:https://sa-token.cc
|
|||
|
|
implementation 'cn.dev33:sa-token-spring-boot-starter:1.37.0'
|
|||
|
|
|
|||
|
|
testImplementation platform('org.junit:junit-bom:5.9.1')
|
|||
|
|
testImplementation 'org.junit.jupiter:junit-jupiter'
|
|||
|
|
testCompile group: 'junit', name: 'junit', version: '4.12'
|
|||
|
|
}
|