File tree 9 files changed +32
-31
lines changed
documentation/src/main/asciidoc/reference
9 files changed +32
-31
lines changed Original file line number Diff line number Diff line change @@ -81,16 +81,16 @@ ext {
81
81
82
82
// Mainly, to allow CI to test the latest versions of Vert.X
83
83
// 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'
87
87
}
88
88
89
89
testcontainersVersion = ' 1.18.3'
90
90
91
91
logger. lifecycle " Hibernate ORM Version: " + project. hibernateOrmVersion
92
92
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
94
94
logger. lifecycle " Hibernate Reactive: " + project. version
95
95
}
96
96
Original file line number Diff line number Diff line change @@ -62,14 +62,14 @@ driver for your database, one of the following options:
62
62
|===
63
63
| Database | Driver dependency
64
64
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 }`
70
70
|===
71
71
72
- Where `{vertxVersion }` is the version of Vert.x compatible with the
72
+ Where `{vertxSqlClientVersion }` is the version of Vert.x compatible with the
73
73
version of Hibernate Reactive you're using.
74
74
75
75
You 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 {
29
29
annotationProcessor " org.hibernate.orm:hibernate-jpamodelgen:${ hibernateOrmVersion} "
30
30
31
31
// database driver for PostgreSQL
32
- runtimeOnly " io.vertx:vertx-pg-client:${ vertxVersion } "
32
+ runtimeOnly " io.vertx:vertx-pg-client:${ vertxSqlClientVersion } "
33
33
34
34
// logging (optional)
35
35
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 {
29
29
annotationProcessor " org.hibernate.orm:hibernate-jpamodelgen:${ hibernateOrmVersion} "
30
30
31
31
// 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 } "
34
34
35
35
// logging (optional)
36
36
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
47
47
# skipOrmVersionParsing = true
48
48
49
49
# 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 {
21
21
annotationProcessor ' org.jboss.logging:jboss-logging-processor:2.2.1.Final'
22
22
23
23
// Specific implementation details of Hibernate Reactive:
24
- implementation " io.vertx:vertx-sql-client:${ vertxVersion } "
24
+ implementation " io.vertx:vertx-sql-client:${ vertxSqlClientVersion } "
25
25
26
26
// Testing
27
27
testImplementation ' org.assertj:assertj-core:3.24.2'
28
- testImplementation " io.vertx:vertx-junit5:${ vertxVersion } "
28
+ testImplementation " io.vertx:vertx-junit5:${ vertxSqlClientVersion } "
29
29
30
30
// 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 } "
36
36
37
37
// Optional dependency of vertx-pg-client, essential when connecting via SASL SCRAM
38
38
testImplementation ' com.ongres.scram:client:2.1'
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ dependencies {
27
27
annotationProcessor " org.hibernate.orm:hibernate-jpamodelgen:${ hibernateOrmVersion} "
28
28
29
29
// Testing on one database should be enough
30
- runtimeOnly " io.vertx:vertx-pg-client:${ vertxVersion } "
30
+ runtimeOnly " io.vertx:vertx-pg-client:${ vertxSqlClientVersion } "
31
31
32
32
// Allow authentication to PostgreSQL using SCRAM:
33
33
runtimeOnly ' com.ongres.scram:client:2.1'
@@ -40,7 +40,7 @@ dependencies {
40
40
41
41
// Testing
42
42
testImplementation " org.assertj:assertj-core:${ assertjVersion} "
43
- testImplementation " io.vertx:vertx-junit5:${ vertxVersion } "
43
+ testImplementation " io.vertx:vertx-junit5:${ vertxSqlClientVersion } "
44
44
}
45
45
46
46
// Optional: enable the bytecode enhancements
Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ ext {
19
19
20
20
dependencies {
21
21
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 } "
24
24
25
- runtimeOnly " io.vertx:vertx-pg-client:${ vertxVersion } "
25
+ runtimeOnly " io.vertx:vertx-pg-client:${ vertxSqlClientVersion } "
26
26
// The Pg client requires this dependency
27
27
runtimeOnly " com.ongres.scram:client:2.1"
28
28
runtimeOnly " com.fasterxml.jackson.core:jackson-databind:${ jacksonDatabindVersion} "
@@ -35,7 +35,7 @@ dependencies {
35
35
36
36
// Testing
37
37
testImplementation " org.assertj:assertj-core:${ assertjVersion} "
38
- testImplementation " io.vertx:vertx-junit5:${ vertxVersion } "
38
+ testImplementation " io.vertx:vertx-junit5:${ vertxSqlClientVersion } "
39
39
}
40
40
41
41
// Configuration for the tests
Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ ext {
19
19
20
20
dependencies {
21
21
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 } "
24
24
25
- runtimeOnly " io.vertx:vertx-pg-client:${ vertxVersion } "
25
+ runtimeOnly " io.vertx:vertx-pg-client:${ vertxSqlClientVersion } "
26
26
// The Pg client requires this dependency
27
27
runtimeOnly " com.ongres.scram:client:2.1"
28
28
runtimeOnly " com.fasterxml.jackson.core:jackson-databind:${ jacksonDatabindVersion} "
@@ -35,7 +35,7 @@ dependencies {
35
35
36
36
// Testing
37
37
testImplementation " org.assertj:assertj-core:${ assertjVersion} "
38
- testImplementation " io.vertx:vertx-junit5:${ vertxVersion } "
38
+ testImplementation " io.vertx:vertx-junit5:${ vertxSqlClientVersion } "
39
39
}
40
40
41
41
// Configuration for the tests
You can’t perform that action at this time.
0 commit comments