-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
74 lines (63 loc) · 2.45 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
buildscript {
repositories {
mavenCentral()
maven { setUrl("https://maven.vaadin.com/vaadin-prereleases") }
maven { setUrl("https://maven.vaadin.com/vaadin-addons") }
}
}
plugins {
id 'org.springframework.boot' version '3.0.2'
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
id 'java'
id 'com.vaadin'
}
defaultTasks("clean", "build")
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
repositories {
mavenCentral()
maven { setUrl("https://maven.vaadin.com/vaadin-prereleases") }
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'
}
// https://mvnrepository.com/artifact/org.projectlombok/lombok
compileOnly group: 'org.projectlombok', name: 'lombok', version: '1.18.26'
annotationProcessor('org.projectlombok:lombok:1.18.26')
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-security', version: ''
implementation group: 'org.springframework.security', name: 'spring-security-core', version: '6.0.2'
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: '3.0.4'
compileOnly group: 'com.vaadin', name: 'flow-server', version: '24.0.0'
implementation group: 'com.xdev-software', name: 'vaadin-maps-leaflet-flow', version: '2.0.4'
implementation group: 'org.danilopianini', name: 'de.saring.leafletmap', version: '1.0.5'
implementation group: 'com.vaadin', name: 'vaadin-map-flow', version: '23.2.14'
// https://mvnrepository.com/artifact/org.webjars.bower/jquery
implementation group: 'org.webjars.bower', name: 'jquery', version: '3.6.3'
runtimeOnly 'org.postgresql:postgresql:42.3.6'
}
dependencyManagement {
imports {
mavenBom "com.vaadin:vaadin-bom:$vaadinVersion"
}
}
test {
useJUnitPlatform()
}
// The following pnpmEnable = true is not needed as pnpm is used by default,
// this is just an example of how to configure the Gradle Vaadin Plugin:
// for more configuration options please see: https://vaadin.com/docs/latest/guide/start/gradle/#all-options
vaadin {
pnpmEnable = true
}