-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
64 lines (52 loc) · 1.38 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
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:1.2.3.RELEASE"
classpath 'org.springframework:springloaded:1.2.3.RELEASE'
}
}
apply plugin: "java"
apply plugin: "application"
apply plugin: "spring-boot"
apply plugin: "idea"
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
jcenter()
mavenLocal()
mavenCentral()
}
configurations {
compile.exclude module: 'commons-logging'
}
dependencies {
compile("org.springframework.boot:spring-boot-starter-web")
compile("org.springframework.boot:spring-boot-starter-actuator")
compile("org.springframework.boot:spring-boot-starter-aop")
compile("com.fasterxml.jackson.core:jackson-databind")
compile('io.springfox:springfox-swagger2:2.0.0')
compile('io.springfox:springfox-swagger-ui:2.0.0')
compile('org.slf4j:jcl-over-slf4j:1.7.12')
testCompile group: "junit", name: "junit", version: "4.+"
}
bootRepackage {
mainClass = "com.endockin.commandante.Application"
}
springBoot {
mainClass = "com.endockin.commandante.Application"
}
jar {
baseName = "com.endockin.commandante"
version = "1.1"
}
idea {
module {
inheritOutputDirs = false
outputDir = file("$buildDir/classes/main/")
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.4'
}