-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
65 lines (50 loc) · 1.85 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
group 'com.epam.mentorship'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'org.akhikhl.gretty'
sourceCompatibility = 1.8
targetCompatibility = 1.8
def springVersion = "4.3.2.RELEASE"
def springSecurityVersion = "4.1.3.RELEASE"
def h2DatabaseVersion = "1.4.192"
def javaxServletVersion = "3.1.0"
def jstlVersion = "1.2"
def jacksonCoreVersion = "2.8.1"
//Gretty Embedded Jetty
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.akhikhl.gretty:gretty:+'
}
}
gretty {
port = 8070
contextPath = '/'
servletContainer = 'jetty9'
scanInterval = 10 //Hot-deployment scan interval, in seconds. For more see http://akhikhl.github.io/gretty-doc/Hot-deployment.html
managedClassReload = true
}
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
compile "javax.servlet:javax.servlet-api:${javaxServletVersion}"
compile "javax.servlet:jstl:${jstlVersion}"
compile "org.springframework:spring-core:${springVersion}"
compile "org.springframework:spring-context:${springVersion}"
compile "org.springframework:spring-jdbc:${springVersion}"
compile "org.springframework:spring-webmvc:${springVersion}"
compile "org.springframework:spring-aspects:${springVersion}"
compile "org.springframework.security:spring-security-web:${springSecurityVersion}"
compile "org.springframework.security:spring-security-config:${springSecurityVersion}"
compile "com.fasterxml.jackson.core:jackson-core:${jacksonCoreVersion}"
compile "com.fasterxml.jackson.core:jackson-databind:${jacksonCoreVersion}"
compile "com.h2database:h2:${h2DatabaseVersion}"
compile "org.hsqldb:hsqldb:2.3.2"
compile("org.hibernate:hibernate-validator")
compile group: 'log4j', name: 'log4j', version: '1.2.17'
}