40 lines
979 B
Plaintext
40 lines
979 B
Plaintext
|
plugins {
|
||
|
java
|
||
|
id("org.springframework.boot") version "3.3.3"
|
||
|
id("io.spring.dependency-management") version "1.1.6"
|
||
|
}
|
||
|
|
||
|
group = "de.szut"
|
||
|
version = "0.0.1-SNAPSHOT"
|
||
|
|
||
|
java {
|
||
|
toolchain {
|
||
|
languageVersion = JavaLanguageVersion.of(17)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
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")
|
||
|
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()
|
||
|
}
|