-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
48 lines (40 loc) · 1.08 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
plugins {
id "java"
id "idea"
id "eclipse"
id "com.moowork.node" version "1.2.0"
id "org.springframework.boot" version "1.5.12.RELEASE"
}
group = "daggerok"
version = "0.0.1"
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compile "org.springframework.boot:spring-boot-starter-actuator",
"org.springframework.boot:spring-boot-starter-mustache",
"org.springframework.boot:spring-boot-starter-data-rest",
"org.springframework.boot:spring-boot-starter-data-jpa",
"org.springframework.boot:spring-boot-devtools",
"org.projectlombok:lombok"
runtime "com.h2database:h2"
testCompile "org.springframework.boot:spring-boot-starter-test"
}
defaultTasks "clean", "build"
task ui(dependsOn: yarn_build)
assemble.shouldRunAfter ui
test.dependsOn ui
node {
download = true
nodeModulesDir = file "$projectDir/ui"
}
task wrapper(type: Wrapper) {
gradleVersion = "4.7"
distributionType = "ALL"
}
// bash build/libs/*.jar
springBoot {
executable = true
}