-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
72 lines (63 loc) · 2.28 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
plugins {
id 'org.springframework.boot' version '2.2.5.RELEASE'
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
id 'java'
}
group = 'es.tmdad.demochat'
version = '2020'
sourceCompatibility = '1.8'
repositories {
mavenCentral()
jcenter()
maven {
url 'http://oss.jfrog.org/artifactory/oss-snapshot-local/'
}
}
ext {
boostrapVersion = '4.3.1'
fontawesomeVersion = '5.12.0'
stompWebsocketVersion = '2.3.3'
sockjsClientVersion = '1.0.2'
jQueryVersion = '3.1.1-1'
jwtToken = '0.9.1'
swaggerVersion = '2.9.2'
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-thymeleaf")
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.boot:spring-boot-starter-websocket")
implementation("org.springframework.boot:spring-boot-starter-security")
implementation("org.springframework.boot:spring-boot-starter-amqp")
implementation("org.springframework.boot:spring-boot-starter-reactor-netty")
implementation("org.springframework.security:spring-security-messaging")
implementation("io.jsonwebtoken:jjwt:${jwtToken}")
implementation("org.webjars:webjars-locator-core")
implementation("org.webjars:sockjs-client:${sockjsClientVersion}")
implementation("org.webjars:stomp-websocket:${stompWebsocketVersion}")
implementation("org.webjars:bootstrap:${boostrapVersion}")
implementation("org.webjars:font-awesome:${fontawesomeVersion}")
implementation("org.webjars:jquery:${jQueryVersion}")
//Swagger dependencies
implementation("io.springfox:springfox-swagger2:${swaggerVersion}")
implementation("io.springfox:springfox-swagger-ui:${swaggerVersion}")
runtimeOnly 'org.postgresql:postgresql'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
//testImplementation 'org.springframework.amqp:spring-rabbit-test'
}
test {
useJUnitPlatform()
}
//task bootRunTest(type: org.springframework.boot.gradle.run.BootRunTask, dependsOn: 'build') {
// group = 'Application'
// doFirst() {
// main = project.mainClassName
// classpath = sourceSets.main.runtimeClasspath
// systemProperty 'spring.profiles.active', 'test'
// }
//}
//task stage() {
// dependsOn clean, war
//}