2024-12-17 19:53:08 +08:00
|
|
|
plugins {
|
|
|
|
java
|
|
|
|
id("org.springframework.boot") version "3.4.0"
|
|
|
|
id("io.spring.dependency-management") version "1.1.6"
|
|
|
|
}
|
|
|
|
|
|
|
|
group = "org.blue"
|
|
|
|
version = "0.0.1-SNAPSHOT"
|
|
|
|
|
|
|
|
java {
|
|
|
|
toolchain {
|
|
|
|
languageVersion = JavaLanguageVersion.of(17)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
configurations {
|
|
|
|
compileOnly {
|
|
|
|
extendsFrom(configurations.annotationProcessor.get())
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
maven {
|
|
|
|
url = uri("https://wzpmc.cn:90/repository/maven-public/")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation("org.springframework.boot:spring-boot-starter-actuator")
|
2024-12-24 18:34:29 +08:00
|
|
|
implementation("org.springframework.boot:spring-boot-starter-websocket")
|
2025-01-22 03:22:29 +08:00
|
|
|
implementation("org.mmga:make-minecraft-great-again-spring-boot-starter:0.0.5")
|
2024-12-19 12:59:36 +08:00
|
|
|
implementation("com.mybatis-flex:mybatis-flex-spring-boot-starter:1.10.2")
|
|
|
|
annotationProcessor("com.mybatis-flex:mybatis-flex-processor:1.10.2")
|
|
|
|
// https://mvnrepository.com/artifact/commons-codec/commons-codec
|
|
|
|
implementation("commons-codec:commons-codec:1.16.1")
|
2024-12-19 17:48:46 +08:00
|
|
|
implementation("org.springframework.boot:spring-boot-starter-data-redis:3.4.0")
|
2024-12-17 19:53:08 +08:00
|
|
|
compileOnly("org.projectlombok:lombok")
|
|
|
|
runtimeOnly("com.mysql:mysql-connector-j")
|
|
|
|
annotationProcessor("org.projectlombok:lombok")
|
|
|
|
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
|
|
|
testImplementation("org.mybatis.spring.boot:mybatis-spring-boot-starter-test:3.0.4")
|
|
|
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.withType<Test> {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|