Skip to content

Instantly share code, notes, and snippets.

@kentoj
Created September 24, 2014 17:02
Show Gist options
  • Save kentoj/42e9d623d35f53a89d75 to your computer and use it in GitHub Desktop.
Save kentoj/42e9d623d35f53a89d75 to your computer and use it in GitHub Desktop.
working with java 8 and gradle 1.11
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
repositories { mavenCentral() }
dependencies {
compile 'org.springframework:spring-context:4.1.0.RELEASE'
compile 'org.springframework:spring-webmvc:4.1.0.RELEASE'
compile 'org.slf4j:slf4j-api:1.7.7'
runtime 'org.slf4j:slf4j-log4j12:1.7.7'
testCompile 'org.springframework:spring-test:4.1.0.RELEASE'
testCompile 'junit:junit:4.11'
testCompile "org.mockito:mockito-core:1.9.5"
testCompile "org.hamcrest:hamcrest-library:1.3"
testCompile 'javax.servlet:javax.servlet-api:3.1.0'
}
test {
testLogging {
// Show that tests are run in the command-line output
events 'started', 'passed'
}
}
task wrapper(type: Wrapper) { gradleVersion = '1.12' }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment