-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
68 lines (62 loc) · 2.13 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
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'war'
sourceCompatibility = 1.7
version = '1.0'
repositories {
mavenCentral()
maven {
url "http://repo.spring.io/libs-milestone"
}
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
compile 'javax.servlet:javax.servlet-api:3.1.0'
compile 'javax.validation:validation-api:1.1.0.Final'
// spring
compile('org.springframework:spring-webmvc:4.0.5.RELEASE') {
exclude group: 'commons-logging', module: 'commons-logging'
}
compile 'org.springframework:spring-context:4.0.5.RELEASE'
compile 'org.springframework.security:spring-security-core:3.2.4.RELEASE'
compile 'org.springframework.security:spring-security-config:3.2.4.RELEASE'
compile 'org.springframework.security:spring-security-web:3.2.4.RELEASE'
compile('org.springframework:spring-jdbc:4.0.5.RELEASE') {
exclude group: 'commons-logging', module: 'commons-logging'
}
compile 'org.springframework:spring-context-support:4.0.5.RELEASE'
compile 'org.springframework.data:spring-data-jpa:1.6.0.RELEASE'
// authentication
// compile 'org.springframework.social:spring-social-facebook:1.1.1.RELEASE'
// logging
compile 'log4j:log4j:1.2.17'
compile 'org.slf4j:jcl-over-slf4j:1.7.7'
compile 'org.slf4j:slf4j-api:1.7.7'
compile 'org.slf4j:slf4j-log4j12:1.7.7'
// data
compile 'org.hibernate:hibernate-entitymanager:4.2.7.Final'
compile 'org.hibernate:hibernate-validator:5.0.2.Final'
compile 'mysql:mysql-connector-java:5.1.30'
// template
compile 'org.thymeleaf:thymeleaf-spring4:2.1.3.RELEASE'
compile 'org.thymeleaf.extras:thymeleaf-extras-springsecurity3:2.1.1.RELEASE'
compile 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:1.2.4'
// mail
compile 'javax.mail:mail:1.4.7'
compile 'javax.mail:javax.mail-api:1.5.2'
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.flywaydb:flyway-gradle-plugin:3.0'
}
}
apply plugin: 'flyway'
apply plugin: 'java'
flyway {
url = 'jdbc:mysql://localhost:3306/basicSpring'
user = 'root'
password = ''
}