From a7c3f7e9f6bc66c21c562d9e54d881e5ad7b6940 Mon Sep 17 00:00:00 2001 From: Chris Richardson Date: Mon, 3 Jul 2023 12:01:36 +0900 Subject: [PATCH] Upgraded Docker Compose Gradle plugin to support homebrew installation https://github.com/eventuate-tram/eventuate-development/issues/1 --- build.gradle | 10 +++++----- gradle.properties | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 710bade..4d3d46a 100644 --- a/build.gradle +++ b/build.gradle @@ -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" } } @@ -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() } } diff --git a/gradle.properties b/gradle.properties index 680a6ad..cd0ced7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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