Installation
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 0.0.82 rdbc API version.
SBT¶
For sbt projects, add the following to build.sbt
:
libraryDependencies ++= Vector( "io.rdbc" %% "rdbc-api-scala" % "0.0.82", "io.rdbc.pool" %% "rdbc-pool-scala" % "0.0.11" )
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: '0.0.82' compile group: 'io.rdbc.pool', name: 'rdbc-pool-scala_2.12', version: '0.0.11'
Scala 2.11
compile group: 'io.rdbc', name: 'rdbc-api-scala_2.11', version: '0.0.82' compile group: 'io.rdbc.pool', name: 'rdbc-pool-scala_2.11', version: '0.0.11'
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>0.0.82</version> </dependency> <dependency> <groupId>io.rdbc.pool</groupId> <artifactId>rdbc-pool-scala_2.12</artifactId> <version>0.0.11</version> </dependency>
Scala 2.11
<dependency> <groupId>io.rdbc</groupId> <artifactId>rdbc-api-scala_2.11</artifactId> <version>0.0.82</version> </dependency> <dependency> <groupId>io.rdbc.pool</groupId> <artifactId>rdbc-pool-scala_2.11</artifactId> <version>0.0.11</version> </dependency>