2
votes

Vertx Web JSock Documentation says that in order to bridge sock JS to eventbus one would use vertx-eventbus.js in client javascript. The stated gradle dependency to obtain this file is:

compile 'io.vertx:vertx-web:3.4.1:client'

However that dependency is not found by gradle in jCenter and/or mavenCentral repos where other vertx dependencies reside.

My questions:

1) How does one properly obtain vertx-eventbus.js in java server-side gradle project?

2) Once dependency is resolved, how to serve vertx-eventbus.js from classpath via http server?

1

1 Answers

3
votes

You can dowload the event-bus JS librabry from CDN:

https://cdnjs.com/libraries/vertx