-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
65 lines (55 loc) · 1.39 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
/**
* Gradle Jenkins JPI Plugin
*
* https://wiki.jenkins-ci.org/display/JENKINS/Gradle+JPI+Plugin
* https://github.com/jenkinsci/gradle-jpi-plugin
*
* Gradle Tasks
* ---------------
* jpi: Generates the JPI package
* server: Run Jenkins in place with the plugin being developed
*
*/
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.jenkins-ci.tools:gradle-jpi-plugin:0.10.2'
}
}
apply plugin: 'org.jenkins-ci.jpi'
apply plugin: 'java'
group = 'com.inedo.buildmaster'
version = '1.0'
description = 'BuildMaster'
ext {
jenkinsVersion='1.596.1'
}
jenkinsPlugin {
coreVersion = "$jenkinsVersion"
displayName = 'BuildMaster plugin for Jenkins.'
url = 'http://inedo.com/buildmaster/'
developers {
developer {
id 'andrew-sumner'
name 'Andrew Sumner'
email 'andrew.sumner@xtra.co.nz'
}
}
}
repositories {
jcenter()
}
dependencies {
compile 'org.apache.httpcomponents:httpclient:4.4.1'
compile 'com.fasterxml.jackson.core:jackson-databind:2.5.2'
testCompile 'junit:junit:4.8.2'
testCompile 'org.mockito:mockito-core:2.0.5-beta'
//testCompile "org.jenkins-ci.main:jenkins-test-harness:$jenkinsVersion"
// https://issues.jenkins-ci.org/browse/JENKINS-27826
jenkinsTest 'org.jenkins-ci.plugins:matrix-project:1.4@jar'
}
task wrapper(type: Wrapper) {
gradleVersion = '2.3'
}