forked from huseyinbabal/RealtimeChat
-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
54 lines (47 loc) · 1.42 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
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:2.1.7.RELEASE")
}
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'war'
jar {
baseName = 'chat1'
version = '0.0.1'
}
war {
baseName = 'ROOT'
}
repositories {
mavenCentral()
}
dependencies {
providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
compile("org.springframework.boot:spring-boot-starter-web")
compile("org.springframework.boot:spring-boot-starter-thymeleaf")
compile("org.springframework.boot:spring-boot-starter-data-mongodb")
compile("org.springframework.boot:spring-boot-starter-websocket")
compile("org.springframework:spring-messaging")
//
compile("org.springframework.boot:spring-boot-starter-actuator")
runtime("io.micrometer:micrometer-registry-prometheus")
//
compile 'io.prometheus.jmx:jmx_prometheus_javaagent:0.12.0'
compile 'io.prometheus:simpleclient_httpserver:0.6.0'
compile 'io.prometheus:simpleclient:0.6.0'
//
testCompile("junit:junit")
testCompile 'com.codeborne:selenide:5.2.8'
}
task copyLibs(type: Copy) {
from configurations.compile
include "jmx*"
into "$buildDir/libs"
}
build.dependsOn(copyLibs)