2024-06-06 15:45:46 +00:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
maven { setUrl("https://maven.vaadin.com/vaadin-prereleases") }
|
|
|
|
maven { setUrl("https://repo.spring.io/milestone") }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
plugins {
|
|
|
|
id 'org.springframework.boot' version '3.1.5'
|
|
|
|
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
|
|
|
|
id 'java'
|
|
|
|
id 'com.vaadin'
|
2024-06-18 14:05:27 +00:00
|
|
|
id 'war'
|
2024-06-06 15:45:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
maven { setUrl("https://maven.vaadin.com/vaadin-prereleases") }
|
|
|
|
maven { setUrl("https://repo.spring.io/milestone") }
|
|
|
|
maven { setUrl("https://maven.vaadin.com/vaadin-addons") }
|
|
|
|
}
|
|
|
|
|
|
|
|
configurations {
|
|
|
|
developmentOnly
|
|
|
|
runtimeClasspath {
|
|
|
|
extendsFrom developmentOnly
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation('com.vaadin:vaadin-spring-boot-starter')
|
|
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
|
|
testImplementation('org.springframework.boot:spring-boot-starter-test') {
|
|
|
|
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
|
|
|
|
}
|
2024-06-18 14:05:27 +00:00
|
|
|
providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
|
2024-06-06 15:45:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencyManagement {
|
|
|
|
imports {
|
|
|
|
mavenBom "com.vaadin:vaadin-bom:$vaadinVersion"
|
|
|
|
}
|
|
|
|
}
|
2024-06-13 10:33:25 +00:00
|
|
|
|
2024-06-18 14:05:27 +00:00
|
|
|
war {
|
|
|
|
enabled=true
|
|
|
|
}
|
|
|
|
|
2024-06-13 10:33:25 +00:00
|
|
|
test{
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|