forked from jenkinsci/ez-templates-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
71 lines (57 loc) · 1.75 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
plugins {
id 'java'
id 'jacoco'
id 'idea'
id 'org.jenkins-ci.jpi' version '0.42.0'
id 'com.palantir.git-version' version '0.12.3'
}
group 'org.jenkins-ci.plugins'
version gitVersion(prefix:'ez-templates-')
description 'Allows you to use any job as a template for another job with overridable parameters'
repositories {
jcenter()
}
java {
registerFeature('optionalJenkinsPlugins') {
usingSourceSet(sourceSets.main)
}
}
dependencies {
optionalJenkinsPluginsApi 'org.jenkins-ci.plugins:promoted-builds:2.21@jar',
'org.jenkins-ci.plugins.workflow:workflow-job:2.4@jar'
testCompile 'junit:junit:4.12',
'org.mockito:mockito-all:1.9.5',
'org.hamcrest:hamcrest-all:1.3',
'pl.pragmatists:JUnitParams:1.0.5'
}
sourceCompatibility = 1.8
// Disable Java 8 doclint
allprojects {
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}
jenkinsPlugin {
// version of Jenkins core this plugin depends on
coreVersion = '1.642.3'
// short name of the plugin, defaults to the project name without trailing '-plugin'
shortName = 'ez-templates'
// human-readable name of plugin
displayName = 'EZ Templates'
// URL for plugin on Jenkins wiki or elsewhere
url = 'https://github.com/jenkinsci/ez-templates-plugin'
// plugin URL on GitHub, optional
gitHubUrl = 'https://github.com/jenkinsci/ez-templates-plugin.git'
// use the plugin class loader before the core class loader, defaults to false
pluginFirstClassLoader = true
developers {
developer {
id 'drekbour'
name 'Marc Carter'
}
developer {
id 'joelj'
name 'Joel Johnson'
}
}
}