forked from jenkinsci/prometheus-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
48 lines (41 loc) · 1.43 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
plugins{
id 'java'
id 'maven'
id 'eclipse'
}
group = 'org.jenkins-ci.plugins'
version = '1.0.6-SNAPSHOT'
description = """Prometheus metrics plugin"""
sourceCompatibility = 1.7
targetCompatibility = 1.7
repositories {
maven { url "http://repo.jenkins-ci.org/public/" }
maven { url "http://repo.maven.apache.org/maven2" }
}
dependencies {
compile 'org.jenkins-ci.main:jenkins-core:1.625.3',
'org.jenkins-ci.plugins.workflow:workflow-api:1.8@jar',
'org.jenkins-ci.plugins.workflow:workflow-job:1.8@jar',
'org.apache.httpcomponents:httpcore:4.4',
'org.jenkins-ci.plugins:metrics:3.1.2.7@jar',
'com.google.code.gson:gson:2.3.1',
'io.prometheus:simpleclient:0.0.14',
'io.prometheus:simpleclient_common:0.0.14',
'io.prometheus:simpleclient_dropwizard:0.0.14',
'javax.servlet:servlet-api:2.4',
'org.slf4j:slf4j-api:1.7.7'
testCompile 'org.jenkins-ci.main:jenkins-war:1.625.3:war-for-test',
'org.jenkins-ci.main:jenkins-war:1.625.3',
'org.jenkins-ci.main:jenkins-test-harness:2.1',
'org.jenkins-ci:test-annotations:1.2',
'junit:junit:4.12',
'org.slf4j:log4j-over-slf4j:1.7.7',
'org.slf4j:jcl-over-slf4j:1.7.7',
'org.slf4j:slf4j-jdk14:1.7.7'
}
task dumpDependencies(type: Copy) {
description "Copy all project dependencies into ${buildDir}/dependencyLi bs"
into "$buildDir/dependencyLibs"
//include all dependencies, even test
from configurations.testRuntime
}