Skip to content

Instantly share code, notes, and snippets.

@sudarshan-webonise
Created August 6, 2015 10:49
Show Gist options
  • Save sudarshan-webonise/8fb6bd7a3fc880ac6c36 to your computer and use it in GitHub Desktop.
Save sudarshan-webonise/8fb6bd7a3fc880ac6c36 to your computer and use it in GitHub Desktop.
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