-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
65 lines (53 loc) · 1.36 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
description = "Probabilistic Forecasting Tool"
apply plugin: 'java'
apply plugin: 'idea'
sourceCompatibility = JavaVersion.VERSION_1_8
idea {
project {
jdkName = JavaVersion.VERSION_1_8
languageLevel = JavaVersion.VERSION_1_8
}
}
repositories {
mavenCentral()
}
ext {
springVersion = '1.1.6.RELEASE'
}
ext.libs = [
unit_tests : [
"junit:junit:4.12",
"org.mockito:mockito-all:1.10.19",
"org.assertj:assertj-core:3.0.0"
]
, framework: [dependencies.create('org.springframework.boot:spring-boot-starter-web:' + springVersion)
, dependencies.create('org.springframework.boot:spring-boot-starter-actuator:' + springVersion)
]
, dependencieInject: ["javax.inject:javax.inject:1"]
]
dependencies {
testCompile libs.unit_tests
compile libs.framework
compile libs.dependencieInject
}
buildscript {
repositories {
maven {
url "http://repo.sns.sky.com:8081/artifactory/libs-releases"
}
jcenter()
mavenCentral()
}
dependencies {
classpath 'org.springframework.boot:spring-boot-gradle-plugin:1.1.6.RELEASE'
}
}
apply plugin: 'spring-boot'
test {
testLogging {
events "passed", "skipped", "failed"
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.3'
}