-
Notifications
You must be signed in to change notification settings - Fork 40
/
build.gradle
59 lines (49 loc) · 1.54 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
import java.nio.file.Paths
plugins {
id "java"
id "idea"
id "eclipse"
id "com.moowork.node" version "1.2.0"
id "org.springframework.boot" version "2.0.1.RELEASE"
id "io.spring.dependency-management" version "1.0.5.RELEASE"
}
allprojects {
group = "daggerok"
version = "0.0.1"
description = "Spring Boot 5 Reactive Angular ngrx"
}
sourceCompatibility = targetCompatibility = 1.8
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compile("org.springframework.boot:spring-boot-starter-actuator")
compile("org.springframework.boot:spring-boot-starter-thymeleaf")
compile("org.springframework.boot:spring-boot-starter-webflux")
runtime("org.springframework.boot:spring-boot-devtools")
compileOnly("org.springframework.boot:spring-boot-configuration-processor")
testCompileOnly("org.springframework.boot:spring-boot-configuration-processor")
testCompile("org.springframework.boot:spring-boot-starter-test")
testCompile("io.projectreactor:reactor-test")
}
wrapper {
gradleVersion = "4.10.2"
}
node {
download = true
version = "9.11.1"
npmVersion = "5.6.0"
yarnVersion = "1.6.0"
nodeModulesDir = Paths.get("src", "main", "ngrx").toFile()
}
assemble.dependsOn yarn_build
yarn_build.dependsOn yarn_install
yarn_lint.dependsOn yarn_install
//yarn_install.dependsOn yarn_cache_clean
clean.doFirst {
["nodejs", "npm", "yarn"].each { delete "$projectDir/.gradle/$it" }
["out", "build"].each { delete "$projectDir/$it" }
delete Paths.get(node.nodeModulesDir.path, "node_modules")
}
defaultTasks "clean", "build"