44 lines
876 B
Groovy
44 lines
876 B
Groovy
plugins {
|
|
id 'MTGDBPlugin'
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.5.6'
|
|
id 'io.spring.dependency-management' version '1.1.7'
|
|
id 'com.vaadin' version '24.9.3'
|
|
}
|
|
|
|
group = 'com.example'
|
|
version = '0.0.1-SNAPSHOT'
|
|
description = 'Demo project for Spring Boot'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
ext {
|
|
set('vaadinVersion', "24.9.3")
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'com.vaadin:vaadin-spring-boot-starter'
|
|
developmentOnly 'org.springframework.boot:spring-boot-docker-compose'
|
|
runtimeOnly 'org.postgresql:postgresql'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
}
|
|
|
|
dependencyManagement {
|
|
imports {
|
|
mavenBom "com.vaadin:vaadin-bom:${vaadinVersion}"
|
|
}
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|