/
build.gradle
91 lines (79 loc) · 2.13 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
80
81
82
83
84
85
86
87
88
89
90
91
subprojects {
apply plugin: 'java'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
testCompile 'junit:junit:4.12'
testCompile 'org.assertj:assertj-core:3.5.2'
}
}
project(':app-api') {
dependencies {
compile project(':domain')
}
}
project(':app-impl') {
dependencies {
compile project(':app-api')
compile project(':domain')
testCompile project(path:':domain', configuration:'testOutput')
testCompile 'org.mockito:mockito-all:1.10.19'
}
}
project(':domain') {
task jarTest (type: Jar) {
from sourceSets.test.output
classifier = 'test'
}
configurations {
testOutput
}
artifacts {
testOutput jarTest
}
}
project(':jpa-adapter') {
dependencies {
compileOnly 'javax:javaee-web-api:7.0'
compile project(':app-api')
testCompile project(path:':domain', configuration:'testOutput')
testCompile 'org.liquibase:liquibase-core:3.5.0'
testCompile 'commons-beanutils:commons-beanutils:1.9.2'
testCompile 'org.hamcrest:hamcrest-all:1.3'
testCompile 'org.hibernate:hibernate-core:5.2.3.Final'
testRuntime 'org.hsqldb:hsqldb:2.3.4'
}
}
project(':infra-rest-webbit') {
dependencies {
compileOnly 'javax:javaee-web-api:7.0'
compile project(':app-impl')
compile project(':jpa-adapter')
compile 'org.webbitserver:webbit:0.4.15'
runtime 'org.hibernate:hibernate-core:5.2.3.Final'
}
}
project(':infra-rest-vertx') {
dependencies {
compileOnly 'javax:javaee-web-api:7.0'
compile project(':app-impl')
compile project(':jpa-adapter')
compile 'io.vertx:vertx-core:3.3.3'
compile 'io.vertx:vertx-web:3.3.3'
runtime 'org.hibernate:hibernate-core:5.2.3.Final'
runtime 'org.hsqldb:hsqldb:2.3.4'
testCompileOnly 'javax:javaee-web-api:7.0'
testCompile 'org.hamcrest:hamcrest-all:1.3'
testCompile 'io.vertx:vertx-unit:3.3.3'
testCompile'org.liquibase:liquibase-core:3.5.0'
}
}
project(':acceptance-tests') {
dependencies {
compile 'org.seleniumhq.selenium:selenium-java:2.52.0'
compile 'org.seleniumhq.selenium:selenium-htmlunit-driver:2.52.0'
}
}