Browse files

HHH-6931 - Provide local database hook

  • Loading branch information...
1 parent 5540700 commit 40c61775df7b52e449b455c14d848768f2bc78b6 @sebersole sebersole committed Jan 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 buildSrc/Readme.md
View
2 buildSrc/Readme.md
@@ -23,14 +23,14 @@ These directories are searched recursively. We leverage this in Hibernate to al
to hold local profiles too. That is achieved by a _.gitignore_ which says to ignore any directory named
_local_ under the directory _databases_. So one option to provide custom profiles is to drop them in there. That
has the benefit of not having to specify _hibernate-matrix-databases_
-
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
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,
etc). Any dependency artifacts named here get resolved using whatever resolvers (Maven, etc) are associated with
the build. For example
+
jdbcDependency {
"mysql:mysql-connector-java:5.1.17"
}

0 comments on commit 40c6177

Please sign in to comment.