-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
78 lines (67 loc) · 2.28 KB
/
build.gradle
File metadata and controls
78 lines (67 loc) · 2.28 KB
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
allprojects {
group "${group}"
version "${version}"
}
subprojects {
apply plugin: 'java-library'
if (!it.name.endsWith('liquibase')) {
apply plugin: 'maven-publish'
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
implementation 'org.slf4j:slf4j-api:1.7.30'
testImplementation 'org.junit.jupiter:junit-jupiter:5.7.2'
testImplementation 'org.hamcrest:hamcrest:2.2'
testImplementation 'org.mockito:mockito-inline:4.3.1'
testImplementation 'org.mockito:mockito-junit-jupiter:4.3.1'
}
tasks.named('test') {
useJUnitPlatform()
}
if (!it.name.endsWith('liquibase')) {
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
}
}
project(":codelity-event-sourcing-common") {
dependencies {
implementation 'com.fasterxml.jackson.core:jackson-databind:2.12.4'
}
}
project(":codelity-event-sourcing-core") {
dependencies {
api "${group}:codelity-event-sourcing-common:${version}"
implementation 'com.fasterxml.jackson.core:jackson-databind:2.12.4'
}
}
project(":codelity-event-sourcing-spring-config") {
dependencies {
api "${group}:codelity-event-sourcing-core:${version}"
implementation "org.springframework.boot:spring-boot-starter:${springboot_version}"
implementation 'com.fasterxml.jackson.core:jackson-databind:2.12.4'
testImplementation "org.springframework.boot:spring-boot-starter-test:${springboot_version}"
}
}
project(":codelity-jdbc-eventstore") {
dependencies {
api "${group}:codelity-event-sourcing-common:${version}"
implementation 'com.fasterxml.jackson.core:jackson-databind:2.12.4'
testImplementation 'com.h2database:h2:1.4.200'
}
}
project(":codelity-jdbc-eventstore-spring-config") {
dependencies {
api "${group}:codelity-jdbc-eventstore:${version}"
implementation "org.springframework.boot:spring-boot-starter:${springboot_version}"
implementation 'com.fasterxml.jackson.core:jackson-databind:2.12.4'
testImplementation "org.springframework.boot:spring-boot-starter-test:${springboot_version}"
}
}