-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
62 lines (49 loc) · 1.45 KB
/
build.gradle
File metadata and controls
62 lines (49 loc) · 1.45 KB
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
buildscript {
ext {
springVersion = '1.1.3.RELEASE'
jacksonVersion = "2.4.0"
hibernateValidatorVersion = "5.0.3.Final"
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springVersion}")
}
}
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'java'
apply plugin: 'spring-boot'
group = 'no.ciber'
version = '1.0.0-SNAPSHOT'
jar.baseName = "cibrary"
compileJava {
sourceCompatibility = '1.7'
targetCompatibility = '1.7'
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compile("org.springframework.boot:spring-boot-starter-web") {
exclude module: "spring-boot-starter-tomcat"
}
compile("org.springframework.boot:spring-boot-starter-jetty")
compile("com.fasterxml.jackson.core:jackson-databind")
compile("org.springframework.boot:spring-boot-starter-actuator")
compile("org.springframework.boot:spring-boot-starter-thymeleaf")
compile("org.hibernate:hibernate-validator")
compile("org.springframework.boot:spring-boot-starter-data-jpa")
compile('joda-time:joda-time')
compile('postgresql:postgresql:9.1-901-1.jdbc4')
testCompile('junit:junit')
testCompile("com.h2database:h2")
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
}
task stage(dependsOn: ['build'])
task wrapper(type: Wrapper) {
gradleVersion = '1.12'
}