From bbeb25f7f52dd44afa714550b674914d8af81166 Mon Sep 17 00:00:00 2001 From: Ken Southerland Date: Fri, 7 Jun 2024 15:13:07 -0700 Subject: [PATCH] Update versions and add instructions on publishing to local maven repo --- README.md | 6 +++++- buildSrc/src/main/kotlin/Versions.kt | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d9d5fa68b..1957c7b44 100644 --- a/README.md +++ b/README.md @@ -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-`) and another without (`pgjdbc-ng-VERSION`). @@ -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) diff --git a/buildSrc/src/main/kotlin/Versions.kt b/buildSrc/src/main/kotlin/Versions.kt index e448f2a0c..768a3db31 100644 --- a/buildSrc/src/main/kotlin/Versions.kt +++ b/buildSrc/src/main/kotlin/Versions.kt @@ -6,19 +6,19 @@ object Versions { * Source */ val javaTarget = JavaVersion.VERSION_1_8 - const val kotlin = "1.9.10" + const val kotlin = "2.0.0" /** * 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