Skip to content

Commit

Permalink
Update versions and add instructions on publishing to local maven repo
Browse files Browse the repository at this point in the history
  • Loading branch information
crowmagnumb committed Jun 7, 2024
1 parent 9422d82 commit bbeb25f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
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 = "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
Expand Down

0 comments on commit bbeb25f

Please sign in to comment.