Skip to content

Installation

Adding rdbc-pgsql to your project

rdbc and rdbc-pgsql JARs are published to Maven Central repository. The library is currently available for Scala 2.11 and 2.12 and requires Java 8 runtime. rdbc-pgsql 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.pgsql" %% "pgsql-transport-netty" % "0.4.0.1"
)

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.pgsql', name: 'pgsql-transport-netty_2.12', version: '0.4.0.1'

Scala 2.11

compile group: 'io.rdbc', name: 'rdbc-api-scala_2.11', version: '0.0.82'
compile group: 'io.rdbc.pgsql', name: 'pgsql-transport-netty_2.11', version: '0.4.0.1'

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.pgsql</groupId>
  <artifactId>pgsql-transport-netty_2.12</artifactId>
  <version>0.4.0.1</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.pgsql</groupId>
  <artifactId>pgsql-transport-netty_2.11</artifactId>
  <version>0.4.0.1</version>
</dependency>