代码拉取完成,页面将自动刷新
import org.springframework.boot.gradle.plugin.SpringBootPlugin
plugins {
java
checkstyle
id("org.springframework.boot") version "2.6.4"
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
implementation(platform(SpringBootPlugin.BOM_COORDINATES))
implementation("org.springframework.boot:spring-boot-starter")
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
implementation ("cn.dev33:sa-token-spring-boot-starter:1.29.0")
implementation ("cn.dev33:sa-token-spring-aop:1.29.0")
implementation ("cn.dev33:sa-token-jwt:1.29.0")
implementation("mysql:mysql-connector-java")
implementation("com.squareup.okhttp3:okhttp:3.14.9")
runtimeOnly("org.flywaydb:flyway-core:8.5.7")
runtimeOnly("org.flywaydb:flyway-mysql:8.5.7")
testImplementation(platform("org.junit:junit-bom:5.8.2"))
testImplementation(platform("org.testcontainers:testcontainers-bom:1.16.3"))
testImplementation("org.junit.jupiter:junit-jupiter-api")
testImplementation("org.mockito:mockito-inline")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.testcontainers:testcontainers")
testImplementation("org.testcontainers:mysql")
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
checkstyle {
maxWarnings = 0
toolVersion = "10.0"
}
tasks {
test {
useJUnitPlatform()
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。