-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
34 lines (30 loc) · 1.11 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
apply plugin: 'idea'
allprojects {
apply plugin: 'java'
sourceCompatibility = 1.8
version = '0.2'
}
subprojects {
repositories {
mavenCentral()
}
dependencies {
compile group: 'com.google.guava', name: 'guava', version: '19.0'
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.18'
compile group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.0'
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.assertj', name: 'assertj-core', version: '3.1.0'
testCompile group: 'org.assertj', name: 'assertj-guava', version: '1.3.1'
testCompile group: 'org.mockito', name: 'mockito-core', version: '2.0.26-beta'
testRuntime group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.18'
}
}
def mainProjects = [':core',':bed',':chain', ':fasta', ':gff', ':pedigree']
task jarAll( type: Jar , dependsOn: mainProjects.collect{ it+":compileJava"}) {
baseName = rootProject.name + '-all'
from files(mainProjects.collect{ project(it).sourceSets.main.output })
}
configure(jarAll) {
group = 'build'
description = 'Build a JAR file containing all subprojects'
}