forked from mtusi2026/mtusi2026lab2
42 lines
1.4 KiB
Kotlin
42 lines
1.4 KiB
Kotlin
plugins {
|
|
java
|
|
id("org.springframework.boot") version "3.3.4"
|
|
id("io.spring.dependency-management") version "1.1.6"
|
|
}
|
|
|
|
group = "org.example"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(22))
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.springframework.boot:spring-boot-starter-web")
|
|
implementation("org.springframework.boot:spring-boot-starter-validation")
|
|
compileOnly("org.projectlombok:lombok")
|
|
annotationProcessor("org.projectlombok:lombok")
|
|
testCompileOnly("org.projectlombok:lombok")
|
|
testAnnotationProcessor("org.projectlombok:lombok")
|
|
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
|
testImplementation(platform("org.junit:junit-bom:6.0.0"))
|
|
testImplementation("org.junit.jupiter:junit-jupiter")
|
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
|
implementation("org.springframework.boot:spring-boot-starter-actuator")
|
|
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
|
runtimeOnly("org.postgresql:postgresql")
|
|
implementation("org.flywaydb:flyway-core")
|
|
implementation("org.flywaydb:flyway-database-postgresql")
|
|
implementation("org.springframework.security:spring-security-crypto")
|
|
implementation("org.springframework.boot:spring-boot-starter-data-redis")
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
} |