Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
78 lines (68 sloc) 2.29 KB

Adding rdbc-pool to your project

rdbc and rdbc-pool JARs are published to Maven Central repository. The library is currently available for Scala 2.11 and 2.12 and requires Java 8 runtime or later. rdbc-pool targets {{rdbc_version}} rdbc API version.

SBT

For sbt projects, add the following to build.sbt:

libraryDependencies ++= Vector(
  "io.rdbc" %% "rdbc-api-scala" % "{{rdbc_version}}",
  "io.rdbc.pool" %% "rdbc-pool-scala" % "{{version}}"
)

Gradle

For Gradle projects, add the following to the dependencies section of build.gradle:

Scala 2.12

compile group: 'io.rdbc', name: 'rdbc-api-scala_2.12', version: '{{rdbc_version}}'
compile group: 'io.rdbc.pool', name: 'rdbc-pool-scala_2.12', version: '{{version}}'

Scala 2.11

compile group: 'io.rdbc', name: 'rdbc-api-scala_2.11', version: '{{rdbc_version}}'
compile group: 'io.rdbc.pool', name: 'rdbc-pool-scala_2.11', version: '{{version}}'

Maven

For Maven projects, add the following to the dependencies element of pom.xml:

Scala 2.12

<dependency>
  <groupId>io.rdbc</groupId>
  <artifactId>rdbc-api-scala_2.12</artifactId>
  <version>{{rdbc_version}}</version>
</dependency>
<dependency>
  <groupId>io.rdbc.pool</groupId>
  <artifactId>rdbc-pool-scala_2.12</artifactId>
  <version>{{version}}</version>
</dependency>

Scala 2.11

<dependency>
  <groupId>io.rdbc</groupId>
  <artifactId>rdbc-api-scala_2.11</artifactId>
  <version>{{rdbc_version}}</version>
</dependency>
<dependency>
  <groupId>io.rdbc.pool</groupId>
  <artifactId>rdbc-pool-scala_2.11</artifactId>
  <version>{{version}}</version>
</dependency>