HHH-6931 - Provide local database hook

This commit is contained in:
Steve Ebersole 2012-01-03 21:34:05 -06:00
parent f0d004d1c9
commit 5540700f71

View File

@ -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