-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle
78 lines (67 loc) · 2.4 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
buildscript {
ext {
springBootVersion = '1.3.1.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'spring-boot'
jar {
baseName = 'spring boot primefaces template'
version = '0.0.1-SNAPSHOT'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
maven {
url "http://repository.primefaces.org"
}
}
dependencies {
compile('org.springframework.boot:spring-boot-starter-actuator')
compile('org.springframework.boot:spring-boot-starter-aop')
compile('org.springframework.boot:spring-boot-starter-data-jpa')
compile('org.springframework.boot:spring-boot-starter-jdbc')
compile('org.springframework.boot:spring-boot-starter-security')
compile('org.springframework.boot:spring-boot-starter-web')
runtime('com.h2database:h2')
runtime('mysql:mysql-connector-java')
testCompile('org.springframework.boot:spring-boot-starter-test')
testCompile group: 'junit', name: 'junit', version: '4.12'
// non spring boot libs
//for spring mail
compile group: 'org.springframework', name: 'spring-context-support', version: '4.2.1.RELEASE'
runtime 'org.apache.tomcat.embed:tomcat-embed-core:8.0.30'
runtime 'org.apache.tomcat.embed:tomcat-embed-logging-juli:8.0.30'
runtime 'org.apache.tomcat.embed:tomcat-embed-jasper:8.0.30'
//jsf
compile 'com.sun.faces:jsf-impl:2.2.12'
compile 'com.sun.faces:jsf-api:2.2.12'
compile 'javax.servlet:jstl:1.2'
//primefaces
compile 'org.primefaces:primefaces:5.3'
compile 'org.primefaces.themes:all-themes:1.0.10'
compile 'net.bootsfaces:bootsfaces:0.7.0'
// APACHE
compile 'org.apache.commons:commons-lang3:3.0'
compile group: 'commons-io', name: 'commons-io', version: '2.4'
compile group: 'commons-fileupload', name: 'commons-fileupload', version: '1.3.1'
// JAVAX
compile group: 'javax.mail', name: 'mail', version: '1.4.5'
compile group: 'javax.validation', name: 'validation-api', version: '1.1.0.Final'
// OTHER
compile group: 'org.json', name: 'json', version: '20141113'
//ContentUtil
compile group: 'com.j256.simplemagic', name: 'simplemagic', version: '1.6'
}
task wrapper(type: Wrapper) {
gradleVersion = '2.9'
}