-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
53 lines (41 loc) · 1.04 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
plugins {
id "com.github.kt3k.coveralls" version "2.4.0x";
}
apply plugin: 'jacoco'
apply plugin: 'java';
apply plugin: 'eclipse';
apply plugin: 'application';
sourceCompatibility = 1.8;
mainClassName = "io.github.mountainrange.mule.MULE";
wrapper {
gradleVersion = '2.8';
}
repositories {
mavenCentral();
}
dependencies {
compile group: 'commons-collections', name: 'commons-collections', version: '3.2';
compile group: 'io.github.jgkamat.JayLayer', name: 'JayLayer', version: '4.1.1';
testCompile group: 'junit', name: 'junit', version: '[4.0,)';
testCompile 'jmock:jmock:20031129.200437';
}
jar {
// Add a reasonable manifest
manifest {
attributes 'Main-Class': 'io.github.mountainrange.mule.MULE';
}
// Include any required libraries in the resulting jar
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
}
javadoc {
options.noTimestamp = true;
}
jacoco {
applyTo run
}
jacocoTestReport {
reports {
xml.enabled = true // coveralls plugin depends on xml format report;
html.enabled = true
}
}