File tree Expand file tree Collapse file tree 9 files changed +32
-31
lines changed
documentation/src/main/asciidoc/reference Expand file tree Collapse file tree 9 files changed +32
-31
lines changed Original file line number Diff line number Diff line change @@ -81,16 +81,16 @@ ext {
8181
8282 // Mainly, to allow CI to test the latest versions of Vert.X
8383 // Example:
84- // ./gradlew build -PvertxVersion =4.0.0-SNAPSHOT
85- if ( ! project. hasProperty(' vertxVersion ' ) ) {
86- vertxVersion = ' 4.4.4'
84+ // ./gradlew build -PvertxSqlClientVersion =4.0.0-SNAPSHOT
85+ if ( ! project. hasProperty(' vertxSqlClientVersion ' ) ) {
86+ vertxSqlClientVersion = ' 4.4.4'
8787 }
8888
8989 testcontainersVersion = ' 1.18.3'
9090
9191 logger. lifecycle " Hibernate ORM Version: " + project. hibernateOrmVersion
9292 logger. lifecycle " Hibernate ORM Gradle plugin Version: " + project. hibernateOrmGradlePluginVersion
93- logger. lifecycle " Vert.x Version: " + project. vertxVersion
93+ logger. lifecycle " Vert.x SQL Client Version: " + project. vertxSqlClientVersion
9494 logger. lifecycle " Hibernate Reactive: " + project. version
9595}
9696
Original file line number Diff line number Diff line change @@ -62,14 +62,14 @@ driver for your database, one of the following options:
6262|===
6363| Database | Driver dependency
6464
65- | PostgreSQL or CockroachDB | `io.vertx:vertx-pg-client:{vertxVersion }`
66- | MySQL or MariaDB | `io.vertx:vertx-mysql-client:{vertxVersion }`
67- | DB2 | `io.vertx:vertx-db2-client:{vertxVersion }`
68- | SQL Server | `io.vertx:vertx-mssql-client:${vertxVersion }`
69- | Oracle | `io.vertx:vertx-oracle-client:${vertxVersion }`
65+ | PostgreSQL or CockroachDB | `io.vertx:vertx-pg-client:{vertxSqlClientVersion }`
66+ | MySQL or MariaDB | `io.vertx:vertx-mysql-client:{vertxSqlClientVersion }`
67+ | DB2 | `io.vertx:vertx-db2-client:{vertxSqlClientVersion }`
68+ | SQL Server | `io.vertx:vertx-mssql-client:${vertxSqlClientVersion }`
69+ | Oracle | `io.vertx:vertx-oracle-client:${vertxSqlClientVersion }`
7070|===
7171
72- Where `{vertxVersion }` is the version of Vert.x compatible with the
72+ Where `{vertxSqlClientVersion }` is the version of Vert.x compatible with the
7373version of Hibernate Reactive you're using.
7474
7575You don't need to depend on the JDBC driver for your database.
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ dependencies {
2929 annotationProcessor " org.hibernate.orm:hibernate-jpamodelgen:${ hibernateOrmVersion} "
3030
3131 // database driver for PostgreSQL
32- runtimeOnly " io.vertx:vertx-pg-client:${ vertxVersion } "
32+ runtimeOnly " io.vertx:vertx-pg-client:${ vertxSqlClientVersion } "
3333
3434 // logging (optional)
3535 runtimeOnly " org.apache.logging.log4j:log4j-core:2.20.0"
Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ dependencies {
2929 annotationProcessor " org.hibernate.orm:hibernate-jpamodelgen:${ hibernateOrmVersion} "
3030
3131 // database drivers for PostgreSQL and MySQL
32- runtimeOnly " io.vertx:vertx-pg-client:${ vertxVersion } "
33- runtimeOnly " io.vertx:vertx-mysql-client:${ vertxVersion } "
32+ runtimeOnly " io.vertx:vertx-pg-client:${ vertxSqlClientVersion } "
33+ runtimeOnly " io.vertx:vertx-mysql-client:${ vertxSqlClientVersion } "
3434
3535 // logging (optional)
3636 runtimeOnly " org.apache.logging.log4j:log4j-core:2.20.0"
Original file line number Diff line number Diff line change @@ -47,4 +47,5 @@ org.gradle.java.installations.auto-download=false
4747# skipOrmVersionParsing = true
4848
4949# Override default Vert.x version
50- # vertxVersion = 4.4.4-SNAPSHOT
50+ # vertxSqlClientVersion = 4.4.4-SNAPSHOT
51+
Original file line number Diff line number Diff line change @@ -21,18 +21,18 @@ dependencies {
2121 annotationProcessor ' org.jboss.logging:jboss-logging-processor:2.2.1.Final'
2222
2323 // Specific implementation details of Hibernate Reactive:
24- implementation " io.vertx:vertx-sql-client:${ vertxVersion } "
24+ implementation " io.vertx:vertx-sql-client:${ vertxSqlClientVersion } "
2525
2626 // Testing
2727 testImplementation ' org.assertj:assertj-core:3.24.2'
28- testImplementation " io.vertx:vertx-junit5:${ vertxVersion } "
28+ testImplementation " io.vertx:vertx-junit5:${ vertxSqlClientVersion } "
2929
3030 // Drivers
31- testImplementation " io.vertx:vertx-pg-client:${ vertxVersion } "
32- testImplementation " io.vertx:vertx-mysql-client:${ vertxVersion } "
33- testImplementation " io.vertx:vertx-db2-client:${ vertxVersion } "
34- testImplementation " io.vertx:vertx-mssql-client:${ vertxVersion } "
35- testImplementation " io.vertx:vertx-oracle-client:${ vertxVersion } "
31+ testImplementation " io.vertx:vertx-pg-client:${ vertxSqlClientVersion } "
32+ testImplementation " io.vertx:vertx-mysql-client:${ vertxSqlClientVersion } "
33+ testImplementation " io.vertx:vertx-db2-client:${ vertxSqlClientVersion } "
34+ testImplementation " io.vertx:vertx-mssql-client:${ vertxSqlClientVersion } "
35+ testImplementation " io.vertx:vertx-oracle-client:${ vertxSqlClientVersion } "
3636
3737 // Optional dependency of vertx-pg-client, essential when connecting via SASL SCRAM
3838 testImplementation ' com.ongres.scram:client:2.1'
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ dependencies {
2727 annotationProcessor " org.hibernate.orm:hibernate-jpamodelgen:${ hibernateOrmVersion} "
2828
2929 // Testing on one database should be enough
30- runtimeOnly " io.vertx:vertx-pg-client:${ vertxVersion } "
30+ runtimeOnly " io.vertx:vertx-pg-client:${ vertxSqlClientVersion } "
3131
3232 // Allow authentication to PostgreSQL using SCRAM:
3333 runtimeOnly ' com.ongres.scram:client:2.1'
@@ -40,7 +40,7 @@ dependencies {
4040
4141 // Testing
4242 testImplementation " org.assertj:assertj-core:${ assertjVersion} "
43- testImplementation " io.vertx:vertx-junit5:${ vertxVersion } "
43+ testImplementation " io.vertx:vertx-junit5:${ vertxSqlClientVersion } "
4444}
4545
4646// Optional: enable the bytecode enhancements
Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ ext {
1919
2020dependencies {
2121 implementation project( ' :hibernate-reactive-core' )
22- implementation " io.vertx:vertx-web:${ vertxVersion } "
23- implementation " io.vertx:vertx-web-client:${ vertxVersion } "
22+ implementation " io.vertx:vertx-web:${ vertxSqlClientVersion } "
23+ implementation " io.vertx:vertx-web-client:${ vertxSqlClientVersion } "
2424
25- runtimeOnly " io.vertx:vertx-pg-client:${ vertxVersion } "
25+ runtimeOnly " io.vertx:vertx-pg-client:${ vertxSqlClientVersion } "
2626 // The Pg client requires this dependency
2727 runtimeOnly " com.ongres.scram:client:2.1"
2828 runtimeOnly " com.fasterxml.jackson.core:jackson-databind:${ jacksonDatabindVersion} "
@@ -35,7 +35,7 @@ dependencies {
3535
3636 // Testing
3737 testImplementation " org.assertj:assertj-core:${ assertjVersion} "
38- testImplementation " io.vertx:vertx-junit5:${ vertxVersion } "
38+ testImplementation " io.vertx:vertx-junit5:${ vertxSqlClientVersion } "
3939}
4040
4141// Configuration for the tests
Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ ext {
1919
2020dependencies {
2121 implementation project(' :hibernate-reactive-core' )
22- implementation " io.vertx:vertx-web:${ vertxVersion } "
23- implementation " io.vertx:vertx-web-client:${ vertxVersion } "
22+ implementation " io.vertx:vertx-web:${ vertxSqlClientVersion } "
23+ implementation " io.vertx:vertx-web-client:${ vertxSqlClientVersion } "
2424
25- runtimeOnly " io.vertx:vertx-pg-client:${ vertxVersion } "
25+ runtimeOnly " io.vertx:vertx-pg-client:${ vertxSqlClientVersion } "
2626 // The Pg client requires this dependency
2727 runtimeOnly " com.ongres.scram:client:2.1"
2828 runtimeOnly " com.fasterxml.jackson.core:jackson-databind:${ jacksonDatabindVersion} "
@@ -35,7 +35,7 @@ dependencies {
3535
3636 // Testing
3737 testImplementation " org.assertj:assertj-core:${ assertjVersion} "
38- testImplementation " io.vertx:vertx-junit5:${ vertxVersion } "
38+ testImplementation " io.vertx:vertx-junit5:${ vertxSqlClientVersion } "
3939}
4040
4141// Configuration for the tests
You can’t perform that action at this time.
0 commit comments