-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.json
76 lines (76 loc) · 1.98 KB
/
project.json
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
73
74
75
76
{
"name": "apps/server",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "application",
"sourceRoot": "apps/server/src",
"targets": {
"build": {
"executor": "@jnxplus/nx-gradle:run-task",
"outputs": ["{projectRoot}/build/classes", "{projectRoot}/build/libs"],
"options": {
"task": "quarkusBuild"
}
},
"build-native-sources": {
"executor": "@jnxplus/nx-gradle:run-task",
"options": {
"task": [
"build",
"-Dquarkus.package.jar.enabled=false",
"-Dquarkus.native.enabled=true",
"-Dquarkus.native.sources-only=true"
]
},
"outputs": ["{projectRoot}/build/native-sources"]
},
"container": {
"executor": "@nx-tools/nx-container:build",
"dependsOn": ["build-native-sources"],
"options": {
"engine": "docker",
"context": "apps/server",
"file": "apps/server/src/main/docker/Dockerfile.mandrel-builder",
"metadata": {
"images": ["ghcr.io/clementguillot/nx-cloud-ce-server"],
"tags": ["type=schedule", "type=sha,prefix=", "latest"]
}
}
},
"build-image": {
"executor": "@jnxplus/nx-gradle:quarkus-build-image"
},
"serve": {
"executor": "@jnxplus/nx-gradle:run-task",
"options": {
"task": "quarkusDev",
"keepItRunning": true
}
},
"lint": {
"executor": "@jnxplus/nx-gradle:run-task",
"options": {
"task": "spotlessCheck"
}
},
"format": {
"executor": "@jnxplus/nx-gradle:run-task",
"options": {
"task": "spotlessApply"
}
},
"test": {
"executor": "@jnxplus/nx-gradle:run-task",
"options": {
"task": "test"
},
"outputs": ["{projectRoot}/build/jacoco-report"]
},
"integration-test": {
"executor": "@jnxplus/nx-gradle:run-task",
"options": {
"task": "quarkusIntTest"
}
}
},
"tags": []
}