28 lines
476 B
Groovy
28 lines
476 B
Groovy
group 'nilsnh'
|
|
version '1.0-SNAPSHOT'
|
|
|
|
apply plugin: 'java'
|
|
apply plugin: 'application'
|
|
|
|
mainClassName = "CalculateDaysSpent"
|
|
|
|
run {
|
|
if(project.hasProperty('args')){
|
|
args project.args.split('\\s ')
|
|
}
|
|
}
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
compile (
|
|
'com.fasterxml.jackson.core:jackson-core:2.6.3',
|
|
'org.json:json:20150729'
|
|
)
|
|
testCompile group: 'junit', name: 'junit', version: '4.11'
|
|
}
|