forked from jenkinsci/allure-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
85 lines (70 loc) · 3.21 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
73
74
75
76
77
78
79
80
81
82
83
84
85
import de.undercouch.gradle.tasks.download.Download
buildscript {
repositories {
maven { url('https://repo.jenkins-ci.org/public/') }
}
dependencies {
classpath 'org.jenkins-ci.tools:gradle-jpi-plugin:0.28.1'
classpath 'org.jvnet.localizer:maven-localizer-plugin:1.23'
classpath 'de.undercouch:gradle-download-task:3.2.0'
classpath 'net.researchgate:gradle-release:2.6.0'
}
}
apply plugin: 'java'
apply plugin: 'de.undercouch.download'
apply from: "${rootProject.projectDir}/gradle/jenkins.gradle"
apply from: "${rootProject.projectDir}/gradle/release.gradle"
description = 'Allure Jenkins Plugin'
group = 'ru.yandex.qatools.allure'
compileJava {
sourceCompatibility = 1.7
targetCompatibility = 1.7
options.encoding = 'UTF-8'
}
compileTestJava {
sourceCompatibility = 1.7
targetCompatibility = 1.7
options.encoding = 'UTF-8'
}
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
task downloadAllure(type: Download) {
src "https://repo1.maven.org/maven2/io/qameta/allure/allure-commandline/${allureVersion}/allure-commandline-${allureVersion}.zip"
dest "$buildDir/resources/test/allure-commandline.zip"
}
processTestResources.dependsOn(downloadAllure)
repositories {
maven { url('https://repo.jenkins-ci.org/public/') }
}
dependencies {
compile 'org.jenkins-ci:symbol-annotation:1.5'
compile 'de.schlichtherle.truezip:truezip-file:7.7.10'
compile 'de.schlichtherle.truezip:truezip-driver-zip:7.7.10'
compile 'com.fasterxml.jackson.core:jackson-databind:2.7.0'
jenkinsPlugins 'org.jenkins-ci.plugins:script-security:1.25@jar'
jenkinsPlugins 'org.jenkins-ci.plugins:matrix-project:1.11@jar'
optionalJenkinsPlugins 'org.jenkins-ci.plugins:structs:1.5@jar'
optionalJenkinsPlugins 'org.jenkins-ci.plugins:job-dsl:1.51@jar'
optionalJenkinsPlugins 'org.jenkins-ci.plugins:job-dsl-core:1.51@jar'
optionalJenkinsPlugins 'org.jenkins-ci.plugins.workflow:workflow-step-api:2.4@jar'
testCompile 'junit:junit:4.12'
testCompile 'org.assertj:assertj-core:2.6.0'
testCompile 'ru.yandex.qatools.matchers:nio-matchers:1.3'
testCompile 'com.cloudbees:groovy-cps:1.12'
testCompile 'org.kohsuke:groovy-sandbox:1.11'
testCompile 'org.jboss.marshalling:jboss-marshalling:1.4.9.Final'
testCompile 'org.jboss.marshalling:jboss-marshalling-river:1.4.9.Final'
jenkinsTest 'org.jenkins-ci.plugins:junit:1.2@jar'
jenkinsTest 'org.jenkins-ci.plugins:scm-api:1.1@jar'
jenkinsTest 'org.jenkins-ci.plugins:durable-task:1.12@jar'
jenkinsTest 'org.jenkins-ci.main:jenkins-test-harness:2.15@jar'
jenkinsTest 'org.jenkins-ci.plugins.workflow:workflow-api:2.4@jar'
jenkinsTest 'org.jenkins-ci.plugins.workflow:workflow-job:2.8@jar'
jenkinsTest 'org.jenkins-ci.plugins.workflow:workflow-cps:2.21@jar'
jenkinsTest 'org.jenkins-ci.plugins.workflow:workflow-support:2.9@jar'
jenkinsTest 'org.jenkins-ci.plugins.workflow:workflow-scm-step:1.15@jar'
jenkinsTest 'org.jenkins-ci.plugins.workflow:workflow-basic-steps:2.1@jar'
jenkinsTest 'org.jenkins-ci.plugins.workflow:workflow-durable-task-step:2.4@jar'
jenkinsTest "org.jenkins-ci.ui:jquery-detached:1.2.1:core-assets@jar"
}