Support for Eventuate Local

This commit is contained in:
Chris Richardson
2016-08-05 16:41:16 -07:00
parent fe0ce037de
commit f570ccbe90
10 changed files with 140 additions and 14 deletions

View File

@@ -0,0 +1,15 @@
import org.gradle.api.Plugin
import org.gradle.api.Project
class EventuateDependencyPlugin implements Plugin<Project> {
@Override
void apply(Project project) {
project.dependencies {
if (project.hasProperty("eventuateLocal"))
compile "io.eventuate.local.java:eventuate-local-java-jdbc:${project.eventuateLocalVersion}"
else
compile "io.eventuate.client.java:eventuate-client-java-http-stomp-spring:${project.eventuateClientVersion}"
}
}
}