-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
72 lines (61 loc) · 1.75 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
buildscript {
repositories {
jcenter()
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath "gradle.plugin.nl.javadude.gradle.plugins:license-gradle-plugin:0.13.1"
classpath 'com.github.jengelman.gradle.plugins:shadow:5.2.0'
}
}
allprojects {
apply plugin: 'java'
apply plugin: 'jacoco'
apply plugin: "com.github.hierynomus.license"
version = '2.2.0'
group = 'org.sybila.parasim'
repositories {
jcenter()
mavenCentral()
// jsbml
maven { url "http://jsbml.sourceforge.net/m2repo" }
// mangosdk
maven { url 'http://www.ebi.ac.uk/~maven/m2repo' }
}
//global configuration
ext {
commonsLogging = '1.1.1'
jsbml = '1.2-beta1'
}
//common dependencies for everyone
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
testCompile 'org.testng:testng:6.9.12'
compile 'net.jcip:jcip-annotations:1.0'
compile 'org.javassist:javassist:3.26.0-GA'
compile 'org.slf4j:slf4j-log4j12:1.7.2'
compile 'org.apache.commons:commons-lang3:3.5'
compile files("${project.rootProject.rootDir}/lib/javaoctave-0.6.4.jar")
}
license {
header rootProject.file('license_template.txt')
strictCheck true
ext.year = '2011-2016'
ext.name = 'Sybila, Systems Biology Laboratory'
}
test {
useTestNG()
}
jacocoTestReport {
reports {
xml.enabled = true
html.enabled = true
}
}
check.dependsOn jacocoTestReport
test {
testLogging { //more printing during tests
events "passed", "skipped", "failed"
}
}
}