-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
52 lines (45 loc) · 1.44 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
buildscript {
repositories {
maven { url "http://repo.spring.io/libs-release" }
mavenLocal()
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.1.7.RELEASE")
}
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'spring-boot'
apply plugin: 'war'
war {
baseName = 'travelapp-server-war'
version = '1.0.0'
}
jar {
baseName = 'travelapp-server'
version = '1.0.0'
}
repositories {
mavenLocal()
mavenCentral()
maven { url "http://repo.spring.io/libs-release" }
maven { url "https://repository.jboss.org/nexus/content/repositories/releases" }
}
dependencies {
compile("org.springframework.boot:spring-boot-starter-web")
compile("org.springframework.boot:spring-boot-starter-data-jpa")
compile("org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.0.Final")
//compile("org.jasypt:jasypt-hibernate3:1.9.0") // check this dependency
compile("com.h2database:h2")
compile("junit:junit:4.12")
compile 'mysql:mysql-connector-java:5.1.31'
compile 'org.springframework.security.oauth:spring-security-oauth2:2.0.7.RELEASE'
compile 'org.springframework.hateoas:spring-hateoas:0.19.0.RELEASE'
compile 'com.jayway.jsonpath:json-path:2.1.0'
compile 'org.springframework:spring-test:4.2.3.RELEASE'
compile 'org.mockito:mockito-all:1.10.19'
}
task wrapper(type: Wrapper) {
gradleVersion = '1.11'
}