OSQL4J/README.md
2022-11-08 15:58:25 -05:00

1.7 KiB

OSQL4J

Lightweight SQL interface for java.

Usage

Gradle

Groovy DSL

First, add the repository

repositories {
    maven {
        url 'https://repo.nevets.tech/repository/maven-public/'
    }
}

Then, add the OSQL4J dependency:

dependencies {
    implementation "tech.nevets.osql4j:OSQL4J:1.0.1"
}

If you want to provide your own jdbc driver dependencies, use the provided no-deps dependency

dependencies {
   implementation "tech.nevets.osql4j:OSQL4J:1.0.1:no-deps"
}

Kotlin DSL

First, add the repository

repositories {
    maven("https://repo.nevets.tech/repository/maven-public/")
}

Then, add the OSQL4J dependency:

dependencies {
    implementation("tech.nevets.osql4j:OSQL4J:1.0.1")
}

If you want to provide your own jdbc driver dependencies, use the provided no-deps dependency

dependencies {
    implementation("tech.nevets.osql4j:OSQL4J:1.0.1:no-deps")
}

Maven

First, add the repository

<repositories>
    <repository>
        <id>nevets-tech-repo</id>
        <url>https://repo.nevets.tech/repository/maven-public/</url>
    </repository>
</repositories>

And then add the OSQL4J dependency:

<dependency>
    <groupId>tech.nevets</groupId>
    <artifactId>osql4j</artifactId>
    <version>1.0.1</version>
</dependency>

If you want to provide your own jdbc driver dependencies, use the provided no-deps dependency

<dependency>
    <groupId>tech.nevets</groupId>
    <artifactId>osql4j</artifactId>
    <version>1.0.1</version>
    <classifier>no-deps</classifier>
</dependency>