Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update versions and add instructions on publishing to local maven repo #603

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pgjdbc-ng is released under the 3 clause BSD license.
#### Building
The driver is built with Gradle. To build & test, execute:

./gradlew clean build.
./gradlew clean build

This will produce, in the `driver/build/libs` directory, two JAR files. One with dependencies
packaged inside (`pgjdbg-nc-all-<VERSION>`) and another without (`pgjdbc-ng-VERSION`).
Expand All @@ -75,6 +75,10 @@ Alternatively, to build the driver without testing you can execute:

./gradlew clean assemble

And to do the same and publish to your local maven repository you can execute:

./gradlew clean assemble publishToMavenLocal

#### Testing

The unit tests need a PostgreSQL database to execute against. The build will start a [Docker](https://docker.com)
Expand Down
6 changes: 3 additions & 3 deletions buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ object Versions {
* Source
*/
val javaTarget = JavaVersion.VERSION_1_8
const val kotlin = "1.9.10"
const val kotlin = "1.9.20"

/**
* Required Libraries
*/
const val netty = "4.1.100.Final"
const val netty = "4.1.109.Final"

/**
* Tooling Libraries
*/
const val javaPoet = "1.13.0"
const val argParser = "2.0.7"
const val asciidoctorJ = "2.5.10"
const val asciidoctorJ = "2.5.13"

/**
* Testing dependencies
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ include(":pgjdbc-ng")
project(":pgjdbc-ng").projectDir = file("driver")

include(":udt-gen")
include(":documentation")
// include(":documentation")