Import from and Export to relational DB

I have variant data laying in a Postgres DB and I wanted to add an import and export function for this database using JDBC.
I already wrote some of the Scala code but I am unable to include the Postgres JDBC driver into hail.

I tried adding the following line to the libraryDependencies in the build.sbt:
, "org.postgresql" % "postgresql" % "42.2.19"
but this did not help. I also created a lib folder in hail/hail and included the jar from there.
Can anyone help me with that?

I think you’ll need to add it into the build.gradle dependencies as well.

Thank you! That worked.