-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
105 lines (84 loc) · 3.07 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
buildscript {
repositories {
jcenter()
maven {
url 'http://nexus.localhost/content/groups/public/'
url 'http://maven.vaadin.com/vaadin-addons'
}
mavenLocal()
mavenCentral()
}
dependencies {
classpath 'fi.jasoft.plugin:gradle-vaadin-plugin:+'
classpath 'org.springframework.boot:spring-boot-gradle-plugin:+'
}
}
apply plugin: 'fi.jasoft.plugin.vaadin'
apply plugin: 'spring-boot'
apply plugin: 'war'
apply plugin: 'eclipse'
apply plugin: 'eclipse-wtp'
webAppDirName = 'src/main/webapp'
sourceCompatibility=1.8
targetCompatibility=1.8
ext {
springBootVersion = '1.2.0.RELEASE'
springVaadinVersion = '0.0.4-SNAPSHOT'
}
vaadin {
version = '7.3.6'
manageDependencies = true
manageRepositories = true
}
eclipse {
classpath {
downloadSources = true
downloadJavadoc = true
}
}
configurations {
provided
}
sourceSets {
main { compileClasspath += configurations.provided }
}
dependencies {
compile 'joda-time:joda-time:+'
compile 'org.apache.commons:commons-lang3:+'
compile 'org.apache.commons:commons-collections4:+'
compile('org.springframework.boot:spring-boot-starter-web:'+springBootVersion) {
exclude([group: 'org.eclipse.jetty'])
exclude module: 'spring-boot-starter-jetty'
}
compile 'org.springframework.boot:spring-boot-starter-tomcat:'+springBootVersion
compile 'org.springframework.boot:spring-boot-starter-security:'+springBootVersion
compile 'org.springframework.boot:spring-boot-starter-actuator:'+springBootVersion
compile 'org.vaadin.spring:spring-boot-vaadin:'+springVaadinVersion
compile 'org.vaadin.spring:spring-vaadin-security:'+springVaadinVersion
compile 'org.vaadin.spring:spring-vaadin-mvp:'+springVaadinVersion
compile 'com.vaadin:vaadin-server:'+vaadin.version
compile 'com.vaadin:vaadin-themes:'+vaadin.version
compile('com.vaadin:vaadin-client:'+vaadin.version) {
exclude([group: 'org.eclipse.jetty'])
}
compile('com.vaadin:vaadin-client-compiled:'+vaadin.version) {
exclude([group: 'org.eclipse.jetty'])
}
compile('com.vaadin:vaadin-client-compiler:'+vaadin.version) {
exclude([group: 'org.eclipse.jetty'])
}
compile('com.vaadin:vaadin-themes:'+vaadin.version) {
exclude([group: 'org.eclipse.jetty'])
}
compile 'org.vaadin.addons:formsender:+'
compile 'javax.inject:javax.inject:+'
compile 'javax.servlet:javax.servlet-api:3.1.0'
compile 'javax.servlet:jstl:1.2'
compile 'org.apache.tomcat.embed:tomcat-embed-jasper:+'
testCompile 'junit:junit:+'
testCompile 'org.springframework.boot:spring-boot-starter-test:'+springBootVersion
testCompile 'org.vaadin.spring:spring-vaadin-test:'+springVaadinVersion
}
task cleanWidgetset(type: Delete) {
delete webAppDirName+'/VAADIN/widgetsets'
}