2024-08-28 07:17:40 +00:00
|
|
|
plugins {
|
|
|
|
java
|
|
|
|
id("org.springframework.boot") version "3.3.2"
|
|
|
|
id("io.spring.dependency-management") version "1.1.6"
|
|
|
|
}
|
|
|
|
|
|
|
|
group = "de.szut"
|
|
|
|
version = "0.0.1-SNAPSHOT"
|
|
|
|
|
|
|
|
java {
|
|
|
|
toolchain {
|
|
|
|
languageVersion = JavaLanguageVersion.of(22)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
configurations {
|
|
|
|
compileOnly {
|
|
|
|
extendsFrom(configurations.annotationProcessor.get())
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
|
|
|
implementation("org.springframework.boot:spring-boot-starter-web")
|
|
|
|
implementation("org.springframework.boot:spring-boot-starter-validation")
|
2024-09-04 09:00:05 +00:00
|
|
|
testImplementation("org.testcontainers:junit-jupiter")
|
|
|
|
testImplementation("org.springframework.boot:spring-boot-testcontainers")
|
|
|
|
testImplementation("org.testcontainers:postgresql")
|
2024-08-28 07:17:40 +00:00
|
|
|
compileOnly("org.projectlombok:lombok")
|
|
|
|
runtimeOnly("org.postgresql:postgresql")
|
|
|
|
annotationProcessor("org.projectlombok:lombok")
|
|
|
|
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
|
|
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.withType<Test> {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|