-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
78 lines (62 loc) · 1.94 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
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'spring-boot'
mainClassName = "com.sebbia.Application"
buildscript {
repositories {
maven {
url "http://repo.spring.io/libs-milestone"
}
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.2.2.RELEASE")
classpath 'org.springframework:springloaded:1.2.0.RELEASE'
}
}
jar {
baseName = 'server'
}
idea {
project {
jdkName = '1.8'
languageLevel = '1.8'
}
module {
inheritOutputDirs = false
outputDir = file("$buildDir/classes/main/")
}
}
bootRepackage {
mainClass = 'com.sebbia.Application'
}
repositories {
mavenCentral()
maven { url "http://repo.spring.io/libs-snapshot" }
}
configurations.all {
exclude module: 'slf4j-log4j12'
}
dependencies {
compile fileTree(dir: 'lib', include: '*.jar')
compile 'org.springframework:spring-context:4.1.+'
compile 'org.springframework.boot:spring-boot:1.2.+'
compile ('org.springframework.boot:spring-boot-starter:1.2.+') {}
compile ('org.springframework.boot:spring-boot-starter-web:1.2.+'){}
compile 'org.springframework.boot:spring-boot-starter-actuator:1.2.+'
compile 'org.springframework.boot:spring-boot-starter-security:1.2.+'
compile 'org.springframework.boot:spring-boot-starter-data-jpa:1.2.+'
compile 'com.googlecode.json-simple:json-simple:1.1.1'
compile 'com.fasterxml.jackson.datatype:jackson-datatype-joda:2.4.2'
compile 'org.codehaus.janino:janino:2.7.8'
compile 'joda-time:joda-time:2.8'
compile 'org.jadira.usertype:usertype.core:3.2.0.GA'
compile 'org.hibernate:hibernate-validator:5.1.+'
compile 'org.postgresql:postgresql:9.4-1206-jdbc4'
compile 'c3p0:c3p0:0.9.1.2'
}
applicationDefaultJvmArgs = [
"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"
]
task wrapper(type: Wrapper) {
gradleVersion = '1.12'
}