-
Notifications
You must be signed in to change notification settings - Fork 204
/
build.gradle
61 lines (49 loc) · 1.69 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
buildscript {
repositories {
mavenCentral()
maven { url = uri("https://plugins.gradle.org/m2/") }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion")
classpath "com.avast.gradle:gradle-docker-compose-plugin:0.12.0"
}
}
apply plugin: 'docker-compose'
allprojects {
group = "net.chrisrichardson.eventstore.javacustomersandorders"
}
subprojects {
apply plugin: 'java'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
eventuateMavenRepoUrl.split(',').each { repoUrl -> maven { url repoUrl } }
mavenLocal()
}
dependencies {
implementation(platform("io.eventuate.platform:eventuate-platform-dependencies:$eventuateBomVersion"))
testImplementation "junit:junit:4.12"
}
}
dockerCompose {
environment.put "EVENTUATE_COMMON_VERSION", eventuateCommonImageVersion
environment.put "EVENTUATE_MESSAGING_KAFKA_IMAGE_VERSION", eventuateMessagingKafkaImageVersion
environment.put "EVENTUATE_CDC_VERSION", eventuateCdcImageVersion
environment.put "EVENTUATE_JAVA_BASE_IMAGE_VERSION", eventuateExamplesBaseImageVersion
if (project.ext.has("envFile")) {
environment.put "ENV_FILE", project.ext.envFile
}
mysqlbinlog {
projectName = null
useComposeFiles = ["docker-compose-eventuate-local-mysql-binlog.yml"]
}
postgrespolling {
projectName = null
useComposeFiles = ["docker-compose-eventuate-local-postgres-polling.yml"]
}
postgreswal {
projectName = null
useComposeFiles = ["docker-compose-eventuate-local-postgres-wal.yml"]
}
}