-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
48 lines (41 loc) · 1.61 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 'application'
id 'com.github.johnrengelman.shadow' version '5.1.0'
}
group 'com.redhat.rhjmc'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
def jmcVersion = '8.0.0-SNAPSHOT'
compile "org.openjdk.jmc:org.openjdk.jmc.flightrecorder.configuration:${jmcVersion}", {
exclude group: 'org.jacoco', module: 'jacoco-maven-plugin'
}
compile "org.openjdk.jmc:org.openjdk.jmc.flightrecorder.controlpanel.ui:${jmcVersion}", {
exclude group: 'org.jacoco', module: 'jacoco-maven-plugin'
}
compile "org.openjdk.jmc:org.openjdk.jmc.flightrecorder.controlpanel.ui.configuration:${jmcVersion}", {
exclude group: 'org.jacoco', module: 'jacoco-maven-plugin'
}
compile "org.openjdk.jmc:org.openjdk.jmc.rjmx:${jmcVersion}", {
exclude group: 'org.jacoco', module: 'jacoco-maven-plugin'
}
compile "org.openjdk.jmc:org.openjdk.jmc.rjmx.services.jfr:${jmcVersion}", {
exclude group: 'org.jacoco', module: 'jacoco-maven-plugin'
}
compile "org.openjdk.jmc:org.openjdk.jmc.ui.common:${jmcVersion}", {
exclude group: 'org.jacoco', module: 'jacoco-maven-plugin'
}
compile "org.eclipse.platform:org.eclipse.core.runtime:3.15.0"
def prometheusClientVersion = '0.8.1'
compile "io.prometheus:simpleclient:${prometheusClientVersion}"
compile "io.prometheus:simpleclient_httpserver:${prometheusClientVersion}"
testCompile group: 'junit', name: 'junit', version: '4.12'
}
application {
mainClassName = 'com.redhat.rhjmc.prometheus_jfr_exporter.Main'
}