38 lines
1.4 KiB
Groovy
38 lines
1.4 KiB
Groovy
plugins {
|
|
id 'org.springframework.boot' version '2.6.13'
|
|
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
|
|
id 'java'
|
|
}
|
|
|
|
group = 'com.lijun'
|
|
version = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = '1.8'
|
|
|
|
repositories {
|
|
maven { setUrl("https://maven.aliyun.com/repository/public") }
|
|
maven { setUrl("https://maven.aliyun.com/repository/central") }
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
|
|
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.boot:spring-boot-starter-test'
|
|
implementation 'org.springframework.boot:spring-boot-starter-amqp'
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-redis:2.5.14'
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation:2.5.14'
|
|
implementation 'com.auth0:java-jwt:4.4.0'
|
|
implementation 'org.projectlombok:lombok:1.18.28'
|
|
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.3.1'
|
|
testImplementation 'junit:junit:4.13.1'
|
|
|
|
runtimeOnly 'com.mysql:mysql-connector-j'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|