-
Notifications
You must be signed in to change notification settings - Fork 65
/
Copy pathbuild.gradle
69 lines (63 loc) · 2.51 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
plugins {
id 'org.jenkins-ci.jpi' version '0.43.0'
// id 'com.github.hierynomus.license' version '0.12.1'
}
// To release:
// * finalize the README changelog (e.g. date of release)
// * write exact number into 'version' below
// * git commit -m 'multiple-scms-plugin 0.8'
// * git tag 'multiple-scms-0.8'
// * git push, git push --tags
// * Run `gradle publish` to get artifacts uploaded
// * Check https://repo.jenkins-ci.org (search for multiple-scms)
// * Go to https://github.com/jenkinsci/multiple-scms-plugin/releases/new
// to report the new plugin version to GitHub API (so badges work, etc.)
// and upload the HPI file
// After release:
// * Prepare dummy entry in the README Changelog
// (new version number, date "unreleased")
// * bump version below and append '-SNAPSHOT', and
// * git commit -m 'Prepare for 0.9-SNAPSHOT dev cycle'
// * git push
version = '0.9-SNAPSHOT'
description = 'Allows multiple SCM plugins to be used in a job.'
//license {
// header = file('LICENSE')
//}
group = 'org.jenkins-ci.plugins'
// Follow https://github.com/jenkinsci/gradle-jpi-plugin#configuration
jenkinsPlugin {
// version of Jenkins core this plugin depends on, must be 1.420 or later
// after table-to-div migration, 2.264+ with 2.277.1 being the first compatible LTS
jenkinsVersion = '2.277.1'
shortName = 'multiple-scms'
displayName = 'Jenkins Multiple SCMs plugin'
// docs
url = 'https://github.com/jenkinsci/multiple-scms-plugin'
// source
gitHubUrl = 'https://github.com/jenkinsci/multiple-scms-plugin'
// the developers section is optional, and corresponds to the POM developers section
developers {
developer {
id 'kbell'
name 'Kevin Bell'
email '[email protected]'
}
developer {
id 'rodrigc'
name 'Craig Rodrigues'
email '[email protected]'
}
}
}
dependencies {
testImplementation 'org.jenkins-ci.main:jenkins-war:2.204'
testImplementation 'org.jenkins-ci:test-annotations:1.3'
testImplementation 'junit:junit:4.13.1'
testImplementation 'org.jenkins-ci.plugins.workflow:workflow-cps:2.89'
testImplementation 'org.jenkins-ci.plugins.workflow:workflow-job:2.40'
testImplementation 'org.jenkins-ci.plugins.workflow:workflow-basic-steps:2.23'
testImplementation 'org.jenkins-ci.plugins.workflow:workflow-durable-task-step:2.37'
testImplementation 'org.jenkins-ci.main:jenkins-test-harness:2.71'
testImplementation 'org.jenkins-ci:test-annotations:1.3'
}