forked from jenkinsci/templating-engine-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
87 lines (78 loc) · 2.81 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
86
87
plugins {
id 'org.jenkins-ci.jpi' version '0.39.0'
id 'jacoco'
}
repositories {
jcenter()
maven {
url('https://repo.jenkins-ci.org/public/')
}
}
group = 'org.jenkins-ci.plugins'
version = '1.7'
description = 'Allows users to create tool-agnostic, templated pipelines to be shared by multiple teams'
jenkinsPlugin {
coreVersion = '2.138.1'
shortName = 'templating-engine'
displayName = 'Templating Engine'
url = 'https://github.com/jenkinsci/templating-engine-plugin'
disabledTestInjection = false
localizerOutputDir = "${project.buildDir}/generated-src/localizer"
configureRepositories = false
configurePublishing = true
developers {
developer {
id 'steven-terrana'
name 'Steven Terrana'
email '[email protected]'
}
developer {
id 'carlosokieffebah'
name 'Carlos Okieffe'
email '[email protected]'
}
}
}
dependencies {
// plugin dependencies
implementation 'org.jenkins-ci.plugins.workflow:workflow-multibranch:2.20'
implementation 'org.jenkins-ci.plugins.workflow:workflow-api:2.28'
implementation 'org.jenkins-ci.plugins:branch-api:2.0.20'
implementation 'org.jenkins-ci.plugins:scm-api:2.2.7'
implementation 'org.jenkins-ci.plugins:junit:1.24'
implementation 'org.jenkins-ci.plugins:github-branch-source:2.5.1'
// unit test dependencies
testImplementation 'junit:junit:4.12'
testImplementation 'org.spockframework:spock-core:1.3-groovy-2.4'
testImplementation 'net.bytebuddy:byte-buddy:1.10.7' // used by Spock
testImplementation 'org.objenesis:objenesis:3.1' // used by Spock
testImplementation(group: 'org.jenkins-ci.plugins', name: 'git', version:'3.9.3', classifier:'tests') {
exclude(module: 'httpclient')
exclude(module: 'annotation-indexer')
}
// test plugins
testImplementation(group: "org.jenkins-ci.plugins", name: "scm-api", version: "2.3.0", classifier: "tests")
testImplementation(group: 'org.jenkins-ci.plugins', name: 'git', version:'3.9.3') {
exclude(module: 'httpclient')
exclude(module: 'annotation-indexer')
}
testImplementation 'org.jenkins-ci.plugins:token-macro:1.12.1'
testImplementation 'org.jenkins-ci.plugins.workflow:workflow-aggregator:2.6'
testImplementation 'org.jenkins-ci.plugins.workflow:workflow-step-api:2.19'
}
jacocoTestReport {
reports {
html.enabled true
}
}
task testStable(type: Test) {
useJUnit {
excludeCategories 'org.boozallen.plugins.jte.testcategories.Unstable'
excludeCategories 'org.boozallen.plugins.jte.testcategories.InProgress'
}
}
task testIntegration(type: Test) {
useJUnit {
includeCategories 'org.boozallen.plugins.jte.testcategories.Integration'
}
}