mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-16 16:15:06 +00:00
HHH-6931 - Provide local database hook
This commit is contained in:
parent
f0d004d1c9
commit
5540700f71
@ -29,15 +29,12 @@ Within these directories, the plugin looks for sub-directories which either:
|
|||||||
* contain a file named _matrix.gradle_. _matrix.gradle_ is a limited DSL Gradle file which currently understands
|
* contain a file named _matrix.gradle_. _matrix.gradle_ is a limited DSL Gradle file which currently understands
|
||||||
just a specialized org.gradle.api.artifacts.Configuration reference named _jdbcDependency_. All that is a fancy
|
just a specialized org.gradle.api.artifacts.Configuration reference named _jdbcDependency_. All that is a fancy
|
||||||
way to say that _matrix.gradle_ allows you to specify some dependencies this database profile needs (JDBC drivers,
|
way to say that _matrix.gradle_ allows you to specify some dependencies this database profile needs (JDBC drivers,
|
||||||
etc).
|
etc). Any dependency artifacts named here get resolved using whatever resolvers (Maven, etc) are associated with
|
||||||
* contain a directory named _jdbc_ which is assumed to hold jar file(s) needed for the profile.
|
the build. For example
|
||||||
|
|
||||||
Here is an example of _matrix.gradle_ content
|
|
||||||
jdbcDependency {
|
jdbcDependency {
|
||||||
"mysql:mysql-connector-java:5.1.17"
|
"mysql:mysql-connector-java:5.1.17"
|
||||||
}
|
}
|
||||||
Any dependency artifacts named here get resolved using whatever resolvers (Maven, etc) are associated with
|
* contain a directory named _jdbc_ which is assumed to hold jar file(s) needed for the profile.
|
||||||
the build.
|
|
||||||
|
|
||||||
Such directories become the basis of a database profile made available to the build. The name of the profile
|
Such directories become the basis of a database profile made available to the build. The name of the profile
|
||||||
(which becomes important when we discuss the next plugin) is taken from the directory name. Database profiles can
|
(which becomes important when we discuss the next plugin) is taken from the directory name. Database profiles can
|
||||||
|
Loading…
x
Reference in New Issue
Block a user