-
Notifications
You must be signed in to change notification settings - Fork 40
/
build.gradle
49 lines (40 loc) · 1.25 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
apply plugin: 'groovy'
apply plugin: 'application'
sourceCompatibility = 8
targetCompatibility = 8
group = 'com.antigenomics'
version = '1.2.1'
mainClassName = 'com.antigenomics.vdjtools.VdjTools'
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
flatDir { dirs '/usr/share/java' }
}
jar {
baseName = 'vdjtools'
version = "$version"
manifest {
attributes("Main-Class": "$mainClassName", "Implementation-Version": version)
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}
sourceSets {
main {
java { srcDirs = [] } // no source dirs for the java compiler
groovy { srcDirs = ["src/main/java", "src/main/groovy"] } // compile everything in src/ with groovy
}
test {
java { srcDirs = [] } // no source dirs for the java compiler
groovy { srcDirs = ["src/test/java", "src/test/groovy"] } // compile everything in src/ with groovy
}
}
dependencies {
compile 'org.codehaus.groovy:groovy-all:2.5.2'
compile 'org.codehaus.gpars:gpars:1.2.1'
compile 'junit:junit:4.12'
compile 'com.milaboratory:milib:1.8.3'
compile 'commons-io:commons-io:1.2'
compile 'org.apache.commons:commons-lang3:3.4'
}