-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle
65 lines (56 loc) · 1.7 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
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'eclipse'
uploadArchives {
repositories.mavenDeployer {
repository(url: "file:///${System.properties['user.home']}/artifacts/")
pom.version = " 3.0.1"
pom.artifactId = "divide-and-conquer-smc"
pom.groupId = "ca.ubc.stat"
}
}
eclipse {
classpath {
defaultOutputDir = file('bin')
}
}
repositories {
mavenCentral()
jcenter()
maven {
url "http://www.stat.ubc.ca/~bouchard/maven/"
}
}
apply plugin: 'com.github.ben-manes.versions'
dependencies {
compile group: 'com.google.guava', name: 'guava', version: '18.0'
testCompile group: 'junit', name: 'junit', version: '4.12'
compile group: 'junit', name: 'junit', version: '4.12'
compile group: 'ca.ubc.stat', name: 'tutorialj', version: '2.0.4'
compile group: 'ca.ubc.stat', name: 'binc', version: '1.2.1'
compile group: 'ca.ubc.stat', name: 'briefj', version: '2.4.11'
compile group: 'ca.ubc.stat', name: 'bayonet', version: '2.3.19'
compile group: 'com.hazelcast', name: 'hazelcast', version: '3.5-EA'
compile group: 'org.slf4j', name: 'slf4j-simple', version: '1.6.2'
compile group: 'ca.ubc.stat', name: 'xlinear', version: '1.0.0'
}
task(tutorialj, dependsOn: ['build','testClasses'], type: JavaExec) {
main = 'tutorialj.Main'
classpath {
configurations.compile
sourceSets.main.runtimeClasspath
sourceSets.test.runtimeClasspath
}
}
buildscript {
repositories {
maven { url "https://github.com/ben-manes/gradle-versions-plugin/raw/mvnrepo" }
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.github.ben-manes:gradle-versions-plugin:0.16.0'
}
}
apply plugin:'application'
mainClassName = "prototype.MultiLevelMain"