| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- plugins {
- java
- id("org.springframework.boot") version "3.5.13"
- id("io.spring.dependency-management") version "1.1.7"
- }
- group = "space.anyi"
- version = "0.0.1-SNAPSHOT"
- description = "serve"
- java {
- toolchain {
- languageVersion = JavaLanguageVersion.of(17)
- }
- }
- configurations {
- compileOnly {
- extendsFrom(configurations.annotationProcessor.get())
- }
- }
- repositories {
- mavenCentral()
- }
- dependencies {
- implementation("org.springframework.boot:spring-boot-starter-actuator")
- // Source: https://mvnrepository.com/artifact/com.baomidou/mybatis-plus-boot-starter
- implementation ("com.baomidou:mybatis-plus-spring-boot3-starter:3.5.15")
- // implementation("org.springframework.boot:spring-boot-starter-data-jpa")
- // implementation("org.springframework.boot:spring-boot-starter-security")
- implementation("org.springframework.boot:spring-boot-starter-validation")
- implementation("org.springframework.boot:spring-boot-starter-web")
- implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.16")
- // Source: https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-3-starter
- implementation("com.alibaba:druid-spring-boot-3-starter:1.2.28")
- developmentOnly("org.springframework.boot:spring-boot-devtools")
- runtimeOnly("org.postgresql:postgresql")
- annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")
- testImplementation("org.springframework.boot:spring-boot-starter-test")
- testImplementation("org.springframework.security:spring-security-test")
- testRuntimeOnly("org.junit.platform:junit-platform-launcher")
- }
- tasks.withType<Test> {
- useJUnitPlatform()
- }
|