forked from nicholashagen/metrics-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
49 lines (42 loc) · 1.49 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
buildscript {
ext {
springBootVersion = "1.4.1.RELEASE"
codahaleMetricsVersion = "3.0.1"
httpClientVersion = "4.5.2"
metricsSpringVersion = "3.0.1"
}
repositories {
mavenCentral()
}
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'jetty'
apply plugin: 'spring-boot'
repositories {
mavenCentral()
}
dependencies {
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.springframework.boot:spring-boot-starter-actuator'
compile 'org.springframework.boot:spring-boot-starter-jetty'
compile 'org.springframework.boot:spring-boot-starter-aop'
compile "org.apache.httpcomponents:httpclient:${httpClientVersion}"
compile "org.apache.httpcomponents:httpclient-cache:${httpClientVersion}"
compile "com.codahale.metrics:metrics-core:${codahaleMetricsVersion}"
compile "com.codahale.metrics:metrics-logback:${codahaleMetricsVersion}"
compile "com.codahale.metrics:metrics-httpclient:${codahaleMetricsVersion}"
compile "com.codahale.metrics:metrics-jvm:${codahaleMetricsVersion}"
compile "com.codahale.metrics:metrics-healthchecks:${codahaleMetricsVersion}"
compile "com.codahale.metrics:metrics-jetty8:${codahaleMetricsVersion}"
compile "com.ryantenney.metrics:metrics-spring:${metricsSpringVersion}"
}
task wrapper(type: Wrapper) {
gradleVersion = '2.14.1'
}
bootRun {
systemProperties = System.properties
}