-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
47 lines (37 loc) · 954 Bytes
/
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
plugins {
id 'com.jfrog.bintray' version '1.7.3'
id 'com.github.kt3k.coveralls' version '2.8.1'
}
apply plugin: 'groovy'
apply plugin: 'jacoco'
apply plugin: 'maven-publish'
group 'com.thecodesmith.bamboo'
repositories {
jcenter()
}
dependencies {
compile 'org.codehaus.groovy:groovy-all:2.5.6'
compile 'com.atlassian.bamboo:bamboo-specs-api:6.8.1'
compile 'com.atlassian.bamboo:bamboo-specs:6.8.1'
testCompile 'org.spockframework:spock-core:1.2-groovy-2.5'
testCompile 'cglib:cglib-nodep:3.2.10'
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives sourcesJar
archives javadocJar
}
jacocoTestReport {
reports {
xml.enabled true
html.enabled true
}
}
apply from: 'gradle/publish.gradle'