private-event-sourcing-examples-57 update EventuateDependencyPlugin.groovy

This commit is contained in:
dartpopikyardo
2016-09-26 18:41:09 +03:00
parent b2d135665c
commit 790c76c602
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ class EventuateDependencyPlugin implements Plugin<Project> {
@Override
void apply(Project project) {
project.dependencies {
if (project.hasProperty("eventuateLocal")) {
if (project.hasProperty("eventuateDriver") && project.property("eventuateDriver").equals("local")) {
compile "io.eventuate.local.java:eventuate-local-java-jdbc:${project.eventuateLocalVersion}"
compile "io.eventuate.local.java:eventuate-local-java-embedded-cdc-autoconfigure:${project.eventuateLocalVersion}"
} else