forked from mattia-battiston/clean-architecture-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
79 lines (64 loc) · 2.34 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
79
description = "Clean Architecture Example"
subprojects {
repositories {
mavenLocal()
mavenCentral()
maven {
url "http://repo.bodar.com"
}
}
ext {
spring_version = "4.2.5.RELEASE"
springboot_version = "1.3.3.RELEASE"
}
ext.libs = [
unit_tests : [
"junit:junit:4.+",
"org.mockito:mockito-core:1.10.19",
"org.assertj:assertj-core:3.3.0"
],
acceptance_tests : [
"com.googlecode.yatspec:yatspec:1.20"
],
integration_test : [
"org.springframework:spring-test:${spring_version}",
"org.skyscreamer:jsonassert:1.3.0",
"com.cedarsoftware:json-io:4.4.0"
],
end_to_end_test : [
"org.springframework:spring-test:${spring_version}",
"com.mashape.unirest:unirest-java:1.4.8",
"org.skyscreamer:jsonassert:1.3.0",
"com.cedarsoftware:json-io:4.4.0"
],
spring_boot : [
"org.springframework.boot:spring-boot-starter-web:${springboot_version}",
"org.springframework.boot:spring-boot-starter-actuator:${springboot_version}",
"org.springframework.boot:spring-boot-starter-logging:${springboot_version}",
],
rest : [
"org.springframework:spring-web:${spring_version}"
],
database_initialisation: [
"org.springframework:spring-jdbc:${spring_version}",
"com.h2database:h2:1.4.191"
],
database : [
"org.springframework:spring-jdbc:${spring_version}"
],
string_utils : [
"org.apache.commons:commons-lang3:3.4"
],
log : [
"org.slf4j:slf4j-api:1.7.19"
]
]
}
// apply java plugin to all modules
configure(allprojects - project(":application")) {
apply plugin: "java"
sourceCompatibility = JavaVersion.VERSION_1_8
}
task wrapper(type: Wrapper) {
gradleVersion = "2.11"
}