-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
39 lines (31 loc) · 813 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
group 'com.teamtreehouse.challenges'
version '1.0.1-REDUCTION'
apply plugin: 'java'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
test {
testLogging {
exceptionFormat = 'full'
}
}
task prepareSubmission(type: Zip) {
dependsOn check
group = 'Treehouse'
description = 'Runs tests and if successful, zips up project for submission'
classifier = new Date().format('yyyyMMddHHmmss')
from '.'
include '**'
exclude '.gradle/**'
exclude '.idea'
exclude 'build'
exclude 'submissions'
destinationDir = file('submissions')
logger.info('Zip is located in submissions folder')
}
dependencies {
compile 'org.apache.commons:commons-csv:1.3'
testCompile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
}