Skip to content

Instantly share code, notes, and snippets.

@karol-lotkowski
Last active August 29, 2015 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karol-lotkowski/fffaa2af49916bf093e5 to your computer and use it in GitHub Desktop.
Save karol-lotkowski/fffaa2af49916bf093e5 to your computer and use it in GitHub Desktop.
Gradle build script with basic tests dependencies for Java project
apply plugin: 'java'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: '1.3'
testCompile group: 'org.mockito', name: 'mockito-all', version: '1.10.19'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment