-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
33 lines (29 loc) · 1.26 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
apply plugin: 'java'
sourceCompatibility = JavaVersion.VERSION_1_8
version = '1.0'
repositories {
mavenCentral()
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
maven {
url 'http://clojars.org/repo/'
}
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
testCompile group: 'org.truth0', name: 'truth', version: '0.20'
testCompile group: 'org.mockito', name: 'mockito-all', version: '1.9.5'
compile group: 'org.webjars', name: 'requirejs', version: '2.1.11-1'
compile group: 'org.webjars', name: 'codemirror', version: '4.2'
compile group: 'org.webjars', name: 'd3js', version: '3.4.8'
compile group: 'org.webjars', name: 'jquery', version: '1.8.3'
compile group: 'org.webjars', name: 'jsplumb', version: '1.5.5'
compile group: 'com.google.guava', name: 'guava', version: '17.0'
compile group: 'com.hypirion', name: 'io', version: '0.3.1'
compile files(getTools())
}
/** Returns the tools.jar/classes.jar of the Java runtime. */
File getTools() {
return System.properties['os.name'].toLowerCase().contains('mac os') ? new File(System.properties['java.home'], '../classes/classes.jar') : new File(System.properties['java.home'], '../lib/tools.jar')
}