2024-09-03 13:01:50 +00:00
|
|
|
plugins {
|
|
|
|
java
|
2024-09-25 06:57:01 +00:00
|
|
|
id("org.springframework.boot") version "3.3.4"
|
2024-09-03 13:01:50 +00:00
|
|
|
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")
|
|
|
|
compileOnly("org.projectlombok:lombok")
|
|
|
|
annotationProcessor("org.projectlombok:lombok")
|
|
|
|
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
|
|
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
|
|
|
implementation("org.springframework.boot:spring-boot-starter-security")
|
|
|
|
implementation("org.springframework.boot:spring-boot-starter-oauth2-resource-server:3.3.3")
|
|
|
|
implementation("org.springframework.boot:spring-boot-starter-oauth2-client:3.3.3")
|
|
|
|
runtimeOnly("org.postgresql:postgresql")
|
|
|
|
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.6.0")
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.withType<Test> {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|