Skip to content

Instantly share code, notes, and snippets.

@thekalinga
Forked from pietrom/build.gradle
Last active August 29, 2015 14:24
Show Gist options
  • Save thekalinga/d04ee5a9a12a64c86539 to your computer and use it in GitHub Desktop.
Save thekalinga/d04ee5a9a12a64c86539 to your computer and use it in GitHub Desktop.
apply plugin: 'java'
dependencies {
runtime group: 'org.hibernate', name: 'hibernate-core', version: '4.3.8.Final'
}
configurations {
runtime.exclude group: 'xml-apis', module: 'xml-apis'
runtime.exclude group: 'org.hibernate.javax.persistence', module: 'hibernate-jpa-2.1-api'
}
repositories { mavenCentral() }
task getDeps(type: Copy) {
from sourceSets.main.runtimeClasspath
into 'runtime/'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment