-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
51 lines (44 loc) · 1.8 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
/*
* This build file was auto generated by running the Gradle 'init' task
* by 'lucasj8' at '5/28/16 7:52 PM' with Gradle 2.13
*
* This generated file contains a sample Groovy project to get you started.
* For more details take a look at the Groovy Quickstart chapter in the Gradle
* user guide available at https://docs.gradle.org/2.13/userguide/tutorial_groovy_projects.html
*/
// Apply the groovy plugin to add support for Groovy
apply plugin: 'groovy'
apply plugin: 'idea'
apply plugin: 'java'
// In this section you declare where to find the dependencies of your project
repositories {
// Use 'jcenter' for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
mavenCentral()
maven {
url "https://oss.sonatype.org/content/groups/public/"
}
}
// In this section you declare the dependencies for your production and test code
dependencies {
// We use the latest groovy 2.x version for building this library
compile 'org.codehaus.groovy:groovy-all:2.4.6'
compile 'org.apache.poi:poi:3.14'
compile 'net.sf.ucanaccess:ucanaccess:3.0.5'
compile group: 'org.apache.poi', name: 'poi-ooxml', version: '3.14'
compile 'com.commercehub:griddle:3.0.1'
compile group: 'org.apache.poi', name: 'poi', version: '3.12'
compile 'com.xlson.groovycsv:groovycsv:1.1'
// compile 'net.sourceforge.getl:getl:1.+'
// We use the awesome Spock testing and specification framework
testCompile 'org.spockframework:spock-core:1.0-groovy-2.4'
testCompile 'junit:junit:4.12'
}
task runScript (dependsOn: 'classes', type: JavaExec) {
main = 'Main'
classpath = sourceSets.main.runtimeClasspath
}
if (!hasProperty('mainClass')) {
ext.mainClass = 'Main'
}