-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
55 lines (45 loc) · 1.29 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
plugins {
id "org.springframework.boot" version "2.2.0.M1"
id "com.devsoap.vaadin-flow" version "1.1.1"
id "groovy"
}
apply plugin: 'io.spring.dependency-management'
ext {
ext {
groovyVersion = '2.5.6'
gradleWrapperVersion = '5.4.1'
vaadinVersion = '13.0.6'
}
mainClassName = "app.Application"
}
repositories {
mavenLocal()
jcenter()
vaadin.repositories()
maven { url 'https://repo.spring.io/milestone' }
}
sourceCompatibility = 1.11
targetCompatibility = 1.11
jar {
baseName = 'app'
version = null // no version in the filename
manifest {
attributes 'Main-Class': mainClassName // Allow to run with `java -jar app.jar`
}
}
vaadin {
version vaadinVersion
}
bootRun.systemProperties = System.properties // pass sysprops down to bootRun, so we can add them in configs in intellij
wrapper {
gradleVersion = gradleWrapperVersion
distributionType = Wrapper.DistributionType.ALL
}
ext['groovy.version'] = groovyVersion
dependencies {
implementation "org.springframework.boot:spring-boot-starter"
implementation "org.codehaus.groovy:groovy"
implementation vaadin.platform()
implementation "com.vaadin:vaadin-spring-boot-starter:${vaadinVersion}"
runtimeOnly "org.springframework.boot:spring-boot-devtools"
}