-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
51 lines (39 loc) · 1.39 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
plugins {
id 'org.springframework.boot' version '2.1.5.RELEASE'
id 'java'
}
apply plugin: 'io.spring.dependency-management'
group = 'com.example'
version = '0.3'
sourceCompatibility = '1.8'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
implementation group: 'org.flywaydb', name: 'flyway-core', version: '5.2.4'
implementation 'io.springfox:springfox-swagger2:2.9.2'
implementation 'io.springfox:springfox-swagger-ui:2.9.2'
implementation 'com.auth0:java-jwt:3.8.1'
implementation 'mysql:mysql-connector-java:8.0.16'
implementation 'org.springframework.data:spring-data-redis:2.0.3.RELEASE'
implementation 'redis.clients:jedis:2.9.0'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
task npmInstall(type: Exec) {
executable "npm"
args "--prefix", "frontend/", "install"
}
task webpackBuildDev(type: Exec) {
executable "npm"
args "--prefix", "frontend/", "run", "build"
}
webpackBuildDev.dependsOn npmInstall
processResources.dependsOn webpackBuildDev
bootRun {
jvmArgs = ["-Dspring.output.ansi.enabled=ALWAYS"]
}