25 lines
724 B
Groovy
25 lines
724 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.3.4'
|
|
id 'io.spring.dependency-management' version '1.1.6'
|
|
}
|
|
|
|
group = 'se.urmo'
|
|
version = '0.0.1-SNAPSHOT'
|
|
java { toolchain { languageVersion = JavaLanguageVersion.of(21) } }
|
|
|
|
repositories { mavenCentral() }
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
|
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.6.0'
|
|
|
|
runtimeOnly 'org.postgresql:postgresql'
|
|
implementation 'org.flywaydb:flyway-core'
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
}
|
|
|
|
tasks.test { useJUnitPlatform() }
|