-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
executable file
·101 lines (85 loc) · 2.94 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
import java.util.concurrent.TimeUnit
group 'edu.cmu.inmind.multiuser.framework'
project.ext.set("muf_version", '3.0-rc1')
version "$project.muf_version"
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: "com.github.johnrengelman.shadow"
sourceCompatibility = 1.8
repositories {
mavenCentral()
flatDir {
dirs 'libs'
}
maven {
credentials {
username 'inmind'
password '2015InMindYahoo'
}
url "http://www.cs.cmu.edu/afs/cs/project/inmind-cmu-yahoo/www/maven2"
}
jcenter()
maven {
url 'https://oss.jfrog.org/libs-snapshot'
}
}
buildscript {
repositories {
jcenter()
maven{
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
// used for zip big files
classpath "com.github.jengelman.gradle.plugins:shadow:2.0.1"
}
}
configurations {
deployerJars
}
configurations.all {
// Check for updates every hour.
// You can force it to an immediate update by passing 0 instead of 3600
resolutionStrategy.cacheChangingModulesFor(0, TimeUnit.MINUTES)
resolutionStrategy.cacheDynamicVersionsFor(0, TimeUnit.MINUTES)
}
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
testCompile group: 'junit', name: 'junit', version: '4.11'
compile group: 'org.awaitility', name: 'awaitility', version: '3.0.0'
compile group: 'com.google.guava', name: 'guava', version: '22.0'
compile group: 'uk.com.robust-it', name: 'cloning', version: '1.9.3'
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.0'
deployerJars 'org.apache.maven.wagon:wagon-ssh:2.9'
compile group: 'org.zeromq', name: 'jnacl', version: '0.1.0'
// Stanford core-NLP
compile group: 'com.google.protobuf', name: 'protobuf-gradle-plugin', version: '0.8.4'
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'
compile group: 'org.glassfish', name: 'javax.json', version: '1.1.2'
compile group: 'joda-time', name: 'joda-time', version: '2.9.9'
compile group: 'de.jollyday', name: 'jollyday', version: '0.5.4'
compile group: 'com.io7m.xom', name: 'xom', version: '1.2.10'
compile group: 'com.googlecode.efficient-java-matrix-library', name: 'ejml', version: '0.25'
compile group: 'edu.stanford.nlp', name: 'stanford-corenlp', version: '3.8.0'
compile group: 'edu.stanford.nlp', name: 'stanford-corenlp', version: '3.8.0-models'
compile group: 'edu.stanford.nlp', name: 'stanford-corenlp', version: '3.8.0-models-english-kbp'
}
apply plugin: 'maven'
task showMeCache {
doLast{
configurations.compile.each { println it }
}
}
sourceSets {
main.java.srcDir "src/main/java"
main.resources.srcDir "src/main/resources"
}
jar {
manifest {
attributes(
'Class-Path': configurations.compile { it.getName() }.join(' '),
'Main-Class': 'edu.cmu.inmind.multiuser.controller.MainServer'
)
}
}