-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
58 lines (48 loc) · 1.38 KB
/
build.gradle
File metadata and controls
58 lines (48 loc) · 1.38 KB
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
group 'spring-metrics.example'
version '1.0.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'maven-publish'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'propdeps'
apply plugin: 'propdeps-maven'
apply plugin: 'propdeps-idea'
apply plugin: 'propdeps-eclipse'
apply plugin: "io.spring.dependency-management"
sourceCompatibility = 1.7
repositories {
jcenter()
}
buildscript {
repositories {
mavenCentral()
jcenter()
maven { url 'http://repo.spring.io/plugins-release' }
}
dependencies {
classpath 'io.spring.gradle:dependency-management-plugin:0.6.0.RELEASE'
classpath 'org.springframework.build.gradle:propdeps-plugin:0.0.7'
}
}
dependencyManagement {
imports {
mavenBom 'io.spring.platform:platform-bom:2.0.7.RELEASE'
}
}
dependencies {
compile 'org.springframework:spring-webmvc'
compile 'org.apache.commons:commons-lang3'
compile 'com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider'
compile 'org.slf4j:jcl-over-slf4j'
compile 'com.ryantenney.metrics:metrics-spring:3.1.2'
compile 'io.dropwizard.metrics:metrics-servlets:3.1.2'
provided 'javax.servlet:javax.servlet-api'
testCompile 'junit:junit'
}
war {
baseName = 'wizard-metrics'
archiveName = 'wizard-metrics.war'
destinationDir = file('build')
}