If you are using SBT, Maven or Gradle, add the following dependency to the dependencies section of your project descriptor to access the Vert.x Core API and enable the Scala support:

  • SBT (in your build.sbt file):

libraryDependencies += "io.vertx" %% "vertx-lang-scala" % "3.6.0.CR1"
  • Maven (in your pom.xml):

<dependency>
  <groupId>io.vertx</groupId>
  <artifactId>vertx-lang-scala_2.12</artifactId>
  <version>3.6.0.CR1</version>
</dependency>
  • Gradle (in your build.gradle file):

compile "io.vertx:vertx-lang-scala_2.12:3.6.0.CR1"