Skip to content

Commit

Permalink
Upgraded Docker Compose Gradle plugin to support homebrew installation
Browse files Browse the repository at this point in the history
  • Loading branch information
cer committed Jul 3, 2023
1 parent 5d4520b commit a7c3f7e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript {
}
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
classpath "com.avast.gradle:gradle-docker-compose-plugin:0.13.2"
classpath "com.avast.gradle:gradle-docker-compose-plugin:$dockerComposePluginVersion"
classpath "io.eventuate.plugins.gradle:eventuate-plugins-gradle-publish:$eventuatePluginsGradleVersion"
}
}
Expand Down Expand Up @@ -56,25 +56,25 @@ dockerCompose {
mysqlbinlog {
projectName = null
useComposeFiles = ["docker-compose-mysql-binlog.yml"]
removeContainers = project.ext.removeContainers
removeContainers = project.ext.removeContainers.toBoolean()
}

mysqlpolling {
projectName = null
useComposeFiles = ["docker-compose-mysql-polling.yml"]
removeContainers = project.ext.removeContainers
removeContainers = project.ext.removeContainers.toBoolean()
}

postgrespolling {
projectName = null
useComposeFiles = ["docker-compose-postgres-polling.yml"]
removeContainers = project.ext.removeContainers
removeContainers = project.ext.removeContainers.toBoolean()
}

postgreswal {
projectName = null
useComposeFiles = ["docker-compose-postgres-wal.yml"]
removeContainers = project.ext.removeContainers
removeContainers = project.ext.removeContainers.toBoolean()
}
}

Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
deployUrl=file:///Users/cer/.m2/testdeploy

dockerComposePluginVersion=0.16.12
eventuateMavenRepoUrl=file:///Users/cer/.m2/testdeploy,https://snapshots.repositories.eventuate.io/repository

eventuatePluginsGradleVersion=0.13.0.BUILD-SNAPSHOT
Expand Down

0 comments on commit a7c3f7e

Please sign in to comment.