-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
74 lines (61 loc) · 1.77 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
/**
* 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
*
*/
plugins {
id 'org.jenkins-ci.jpi' version '0.28.1'
}
apply plugin: 'java'
sourceCompatibility = 1.8
targetCompatibility = 1.8
group = 'com.inedo.proget'
version = '1.4'
description = 'Inedo ProGet Plugin'
ext {
jenkinsVersion='2.138.4'
}
jenkinsPlugin {
coreVersion = "$jenkinsVersion"
displayName = 'Inedo ProGet Plugin.'
shortName = 'inedo-proget'
url = 'https://github.com/jenkinsci/inedo-proget-plugin'
gitHubUrl = 'https://github.com/jenkinsci/inedo-proget-plugin'
developers {
developer {
id 'andrew-sumner'
name 'Andrew Sumner'
email '[email protected]'
}
}
}
repositories {
maven { url 'http://repo.jenkins-ci.org/public' } // prevent java.lang.NoClassDefFoundError: org/junit/runner/manipulation/Filter
jcenter()
maven { url 'https://jitpack.io' }
}
configurations.all {
// Check for updates every build
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
dependencies {
//compile ('org.concordion:cubano-httpeasy:0.3.5') {
compile ('com.github.concordion.cubano:cubano-httpeasy:master-SNAPSHOT') {
exclude group: 'com.github.markusbernhardt', module: 'proxy-vole'
}
testCompile 'com.jayway.jsonpath:json-path:2.4.0'
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:2.28.2'
testCompile 'org.jenkins-ci.main:jenkins-test-harness:2.55'
testCompile "org.jenkins-ci.main:jenkins-war:${jenkinsVersion}"
}
wrapper {
gradleVersion = '5.6.4'
}