Skip to content

Instantly share code, notes, and snippets.

@potfur
Created November 23, 2016 13:30
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 potfur/22a4296851bdf76cd612505bf99aefba to your computer and use it in GitHub Desktop.
Save potfur/22a4296851bdf76cd612505bf99aefba to your computer and use it in GitHub Desktop.
build.gradle template
group 'group name'
version '0.0.0'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'application'
sourceCompatibility = 1.8
mainClassName = "Main"
repositories {
flatDir {
dirs 'lib'
}
mavenCentral()
jcenter()
}
dependencies {
testCompile 'junit:junit:4.+'
testCompile 'org.mockito:mockito-core:1.+'
}
task update(type: Copy) {
from configurations.runtime
into 'runtime/'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment