Skip to content

com.planetscale.planetscale-jvm 0.0.1-alpha-1

Install 1/2: Add this to pom.xml:
Learn more about Maven or Gradle
<dependency>
  <groupId>com.planetscale</groupId>
  <artifactId>planetscale-jvm</artifactId>
  <version>0.0.1-alpha-1</version>
</dependency>
Install 2/2: Run via command line
$ mvn install

About this package

Planetscale/J: Driver

This module defines a POM-only publication which gathers the appropriate dependencies for the Planetscale/J
JDBC driver. To use this library, install it via the Version Catalog, or via any of the following samples:

Gradle (Kotlin DSL, via Version Catalogs):

// in settings.gradle.kts

dependencyResolutionManagement {
    versionCatalogs {
        create("planetscale") {
            from("com.planetscale:planetscale-catalog:(latest version)")
        }
    }
}
// in build.gradle.kts

dependencies {
    implementation(planetscale.driver)
}

Gradle (Kotlin DSL, one library at a time):

dependencies {
    implementation("com.planetscale:planetscale-jvm:<version>")
}

Maven:

<dependency>
    <groupId>com.planetscale</groupId>
    <artifactId>planetscale-jvm</artifactId>
    <version><!-- use the latest version --></version>
</dependency>

Integration Libraries

See the main README for ancillary integration libraries.