Created
August 6, 2015 10:49
-
-
Save sudarshan-webonise/8fb6bd7a3fc880ac6c36 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin:'org.hibernate.gradle.tools' | |
apply plugin: "hibernatetools-gradle-plugin" | |
apply plugin: "java" | |
buildscript { | |
repositories { | |
maven { | |
url "https://plugins.gradle.org/m2/" | |
} | |
} | |
dependencies { | |
classpath "gradle.plugin.org.hibernate.gradle.tools:hibernatetools-gradle-plugin:1.2.2" | |
} | |
} | |
import org.hibernate.gradle.tools.* | |
database{ | |
catalog =["catalog1": new Schema("demo", ".*")] | |
url = "jdbc:mysql://localhost" | |
user = "root" | |
password = "admin" | |
basePackage ="src.main.java" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment