-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
65 lines (53 loc) · 1.3 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
project.ext {
groupId = 'info.klewitz'
artifactId = 'neuronal-network'
version = new Date().format('yyyy-MM-dd-HH-mm-ss')
}
buildscript {
repositories {
mavenLocal()
}
}
apply plugin: 'groovy'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'maven'
jar.baseName = project.ext.artifactId
jar.version = project.ext.version
sourceSets.main.java.srcDirs = []
sourceSets.test.java.srcDirs = []
sourceSets.main.groovy.srcDirs = ['src/main/java', 'src/main/groovy']
sourceSets.test.groovy.srcDirs = ['src/test/java', 'src/test/groovy']
repositories {
mavenLocal()
mavenCentral()
flatDir {
dirs 'lib'
}
}
compileJava {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
}
dependencies {
def springVersion = '4.0.3.RELEASE'
compile('org.apache.mahout:mahout-core:0.9')
compile('org.neuroph:neuroph-core:2.9')
compile('nz.ac.waikato.cms.weka:weka-dev:3.7.12')
compile("org.springframework:spring-core:$springVersion")
compile('org.codehaus.groovy:groovy-all:2.3.3')
testCompile('org.testng:testng:6.7')
testCompile('org.easytesting:fest-assert:1.4')
}
task tagGit << {
exec {
commandLine 'git', 'tag', "${project.ext.version}"
}
exec {
commandLine 'git', 'push', '--tags'
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.1'
}