-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
83 lines (74 loc) · 2.47 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
apply plugin: 'java'
group 'nl.esciencecenter'
version '0.1'
sourceCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
maven() { url 'http://maven.nuiton.org/release' }
}
dependencies {
compile "com.beust:jcommander:1.72"
compile 'nl.junglecomputing:constellation:2.0.0'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
// Word2VecCommandLine JAR with dependencies
task Word2VecCommandLine(type: Jar) {
manifest {
attributes "Implementation-Version" : version,
"Main-Class" : "nl.esciencecenter.wordembedding.Word2VecCommandLine"
}
baseName = project.name + '-Word2VecCommandLine'
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
with jar
}
// Word2VecConstellation JAR with dependencies
task Word2VecContellation(type: Jar) {
manifest {
attributes "Implementation-Version" : version,
"Main-Class" : "nl.esciencecenter.wordembedding.Word2VecConstellation"
}
baseName = project.name + '-Word2VecConstellation'
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
with jar
}
// Word2VecCompareVocabularies JAR with dependencies
task Word2VecCompareVocabularies(type: Jar) {
manifest {
attributes "Implementation-Version" : version,
"Main-Class" : "nl.esciencecenter.wordembedding.Word2VecCompareVocabularies"
}
baseName = project.name + '-Word2VecCompareVocabularies'
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
with jar
}
// Word2VecCompareWordEmbeddings JAR with dependencies
task Word2VecCompareWordEmbeddings(type: Jar) {
manifest {
attributes "Implementation-Version" : version,
"Main-Class" : "nl.esciencecenter.wordembedding.Word2VecCompareWordEmbeddings"
}
baseName = project.name + '-Word2VecCompareWordEmbeddings'
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
with jar
}
// Word2VecEvaluateWordSimilarity JAR with dependencies
task Word2VecEvaluateWordSimilarity(type: Jar) {
manifest {
attributes "Implementation-Version" : version,
"Main-Class" : "nl.esciencecenter.wordembedding.Word2VecEvaluateWordSimilarity"
}
baseName = project.name + '-Word2VecEvaluateWordSimilarity'
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
with jar
}