Skip to content

Commit

Permalink
chore(sage-monorepo): remove @nxrocks/nx-spring-boot (#2585)
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaffter authored Mar 21, 2024
1 parent 0557d49 commit 2b58591
Show file tree
Hide file tree
Showing 21 changed files with 336 additions and 437 deletions.
26 changes: 16 additions & 10 deletions apps/openchallenges/api-gateway/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,28 @@
}
},
"build": {
"executor": "@nxrocks/nx-spring-boot:build",
"executor": "nx:run-commands",
"outputs": ["{projectRoot}/build"],
"options": {
"root": "apps/openchallenges/api-gateway"
"command": "./gradlew build",
"cwd": "{projectRoot}"
},
"outputs": ["{projectRoot}"],
"dependsOn": ["^install"]
},
"test": {
"executor": "@nxrocks/nx-spring-boot:test",
"executor": "nx:run-commands",
"outputs": ["{projectRoot}/build"],
"options": {
"root": "apps/openchallenges/api-gateway"
}
"command": "./gradlew test",
"cwd": "{projectRoot}"
},
"dependsOn": ["^install"]
},
"clean": {
"executor": "@nxrocks/nx-spring-boot:clean",
"executor": "nx:run-commands",
"options": {
"root": "apps/openchallenges/api-gateway"
"command": "./gradlew clean",
"cwd": "{projectRoot}"
}
},
"serve": {
Expand All @@ -55,9 +60,10 @@
"dependsOn": []
},
"build-image-base": {
"executor": "@nxrocks/nx-spring-boot:build-image",
"executor": "nx:run-commands",
"options": {
"root": "apps/openchallenges/api-gateway"
"command": "./gradlew bootBuildImage",
"cwd": "{projectRoot}"
},
"dependsOn": ["^install"]
},
Expand Down
35 changes: 20 additions & 15 deletions apps/openchallenges/auth-service/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,28 @@
}
},
"build": {
"executor": "@nxrocks/nx-spring-boot:build",
"executor": "nx:run-commands",
"outputs": ["{projectRoot}/build"],
"options": {
"root": "apps/openchallenges/auth-service"
"command": "./gradlew build",
"cwd": "{projectRoot}"
},
"outputs": ["{projectRoot}"],
"dependsOn": ["^install"]
},
"test": {
"executor": "@nxrocks/nx-spring-boot:test",
"executor": "nx:run-commands",
"outputs": ["{projectRoot}/build"],
"options": {
"root": "apps/openchallenges/auth-service"
}
"command": "./gradlew test",
"cwd": "{projectRoot}"
},
"dependsOn": ["^install"]
},
"clean": {
"executor": "@nxrocks/nx-spring-boot:clean",
"executor": "nx:run-commands",
"options": {
"root": "apps/openchallenges/auth-service"
"command": "./gradlew clean",
"cwd": "{projectRoot}"
}
},
"serve": {
Expand All @@ -54,14 +59,14 @@
"cwd": "apps/openchallenges/auth-service"
},
"dependsOn": []
},
"build-image": {
"executor": "@nxrocks/nx-spring-boot:build-image",
"options": {
"root": "apps/openchallenges/auth-service"
},
"dependsOn": ["^install"]
}
// "build-image": {
// "executor": "@nxrocks/nx-spring-boot:build-image",
// "options": {
// "root": "apps/openchallenges/auth-service"
// },
// "dependsOn": ["^install"]
// }
},
"tags": ["type:service", "scope:backend", "language:java", "package-manager:gradle"],
"implicitDependencies": [
Expand Down
35 changes: 21 additions & 14 deletions apps/openchallenges/challenge-service/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,20 @@
}
},
"build": {
"executor": "@nxrocks/nx-spring-boot:build",
"executor": "nx:run-commands",
"outputs": ["{projectRoot}/build"],
"options": {
"root": "{projectRoot}"
"command": "./gradlew build",
"cwd": "{projectRoot}"
},
"outputs": ["{projectRoot}"],
"dependsOn": ["^install"]
},
"test": {
"executor": "@nxrocks/nx-spring-boot:test",
"executor": "nx:run-commands",
"outputs": ["{projectRoot}/build"],
"options": {
"root": "{projectRoot}"
"command": "./gradlew test",
"cwd": "{projectRoot}"
},
"dependsOn": ["^install"]
},
Expand All @@ -42,21 +45,24 @@
"dependsOn": ["test"]
},
"clean": {
"executor": "@nxrocks/nx-spring-boot:clean",
"executor": "nx:run-commands",
"options": {
"root": "{projectRoot}"
"command": "./gradlew clean",
"cwd": "{projectRoot}"
}
},
"format": {
"executor": "@nxrocks/nx-spring-boot:format",
"executor": "nx:run-commands",
"options": {
"root": "{projectRoot}"
"command": "./gradlew spotlessApply",
"cwd": "{projectRoot}"
}
},
"format-check": {
"executor": "@nxrocks/nx-spring-boot:check-format",
"executor": "nx:run-commands",
"options": {
"root": "{projectRoot}"
"command": "./gradlew spotlessCheck",
"cwd": "{projectRoot}"
}
},
"serve": {
Expand All @@ -76,9 +82,10 @@
"dependsOn": []
},
"build-image-base": {
"executor": "@nxrocks/nx-spring-boot:build-image",
"executor": "nx:run-commands",
"options": {
"root": "{projectRoot}"
"command": "./gradlew bootBuildImage",
"cwd": "{projectRoot}"
},
"dependsOn": ["^install"]
},
Expand Down Expand Up @@ -130,7 +137,7 @@
"tags": ["type:service", "scope:backend", "language:java", "package-manager:gradle"],
"implicitDependencies": [
"openchallenges-api-description",
"openchallenges-app-config-data",
"openchallenges-app-config-data",
"shared-java-util"
]
}
36 changes: 20 additions & 16 deletions apps/openchallenges/challenge-to-elasticsearch-service/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,29 +19,33 @@
}
},
"build": {
"executor": "@nxrocks/nx-spring-boot:build",
"executor": "nx:run-commands",
"outputs": ["{projectRoot}/build"],
"options": {
"root": "apps/openchallenges/challenge-to-elasticsearch-service"
"command": "./gradlew build",
"cwd": "{projectRoot}"
},
"outputs": ["{projectRoot}"],
"dependsOn": ["^install"]
},
"clean": {
"executor": "@nxrocks/nx-spring-boot:clean",
"executor": "nx:run-commands",
"options": {
"root": "apps/openchallenges/challenge-to-elasticsearch-service"
"command": "./gradlew clean",
"cwd": "{projectRoot}"
}
},
"format": {
"executor": "@nxrocks/nx-spring-boot:format",
"executor": "nx:run-commands",
"options": {
"root": "apps/openchallenges/challenge-to-elasticsearch-service"
"command": "./gradlew spotlessApply",
"cwd": "{projectRoot}"
}
},
"format-check": {
"executor": "@nxrocks/nx-spring-boot:check-format",
"executor": "nx:run-commands",
"options": {
"root": "apps/openchallenges/challenge-to-elasticsearch-service"
"command": "./gradlew spotlessCheck",
"cwd": "{projectRoot}"
}
},
"serve": {
Expand All @@ -61,13 +65,13 @@
},
"dependsOn": []
},
"build-image": {
"executor": "@nxrocks/nx-spring-boot:build-image",
"options": {
"root": "apps/openchallenges/challenge-to-elasticsearch-service"
},
"dependsOn": ["^install"]
},
// "build-image": {
// "executor": "@nxrocks/nx-spring-boot:build-image",
// "options": {
// "root": "apps/openchallenges/challenge-to-elasticsearch-service"
// },
// "dependsOn": ["^install"]
// },
"generate": {
"executor": "nx:run-commands",
"options": {
Expand Down
36 changes: 22 additions & 14 deletions apps/openchallenges/config-server/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,35 +19,42 @@
}
},
"build": {
"executor": "@nxrocks/nx-spring-boot:build",
"executor": "nx:run-commands",
"outputs": ["{projectRoot}/build"],
"options": {
"root": "apps/openchallenges/config-server"
"command": "./gradlew build",
"cwd": "{projectRoot}"
},
"outputs": ["{projectRoot}"],
"dependsOn": ["^install"]
},
"test": {
"executor": "@nxrocks/nx-spring-boot:test",
"executor": "nx:run-commands",
"outputs": ["{projectRoot}/build"],
"options": {
"root": "apps/openchallenges/config-server"
}
"command": "./gradlew test",
"cwd": "{projectRoot}"
},
"dependsOn": ["^install"]
},
"clean": {
"executor": "@nxrocks/nx-spring-boot:clean",
"executor": "nx:run-commands",
"options": {
"root": "apps/openchallenges/config-server"
"command": "./gradlew clean",
"cwd": "{projectRoot}"
}
},
"format": {
"executor": "@nxrocks/nx-spring-boot:format",
"executor": "nx:run-commands",
"options": {
"root": "apps/openchallenges/config-server"
"command": "./gradlew spotlessApply",
"cwd": "{projectRoot}"
}
},
"format-check": {
"executor": "@nxrocks/nx-spring-boot:check-format",
"executor": "nx:run-commands",
"options": {
"root": "apps/openchallenges/config-server"
"command": "./gradlew spotlessCheck",
"cwd": "{projectRoot}"
}
},
"serve": {
Expand All @@ -67,9 +74,10 @@
"dependsOn": []
},
"build-image-base": {
"executor": "@nxrocks/nx-spring-boot:build-image",
"executor": "nx:run-commands",
"options": {
"root": "apps/openchallenges/config-server"
"command": "./gradlew bootBuildImage",
"cwd": "{projectRoot}"
},
"dependsOn": ["^install"]
},
Expand Down
26 changes: 14 additions & 12 deletions apps/openchallenges/core-service/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,19 @@
}
},
"build": {
"executor": "@nxrocks/nx-spring-boot:build",
"executor": "nx:run-commands",
"outputs": ["{projectRoot}/build"],
"options": {
"root": "apps/openchallenges/core-service"
"command": "./gradlew build",
"cwd": "{projectRoot}"
},
"outputs": ["{projectRoot}"],
"dependsOn": ["^install"]
},
"clean": {
"executor": "@nxrocks/nx-spring-boot:clean",
"executor": "nx:run-commands",
"options": {
"root": "apps/openchallenges/core-service"
"command": "./gradlew clean",
"cwd": "{projectRoot}"
}
},
"serve": {
Expand All @@ -48,14 +50,14 @@
"cwd": "apps/openchallenges/core-service"
},
"dependsOn": []
},
"build-image": {
"executor": "@nxrocks/nx-spring-boot:build-image",
"options": {
"root": "apps/openchallenges/core-service"
},
"dependsOn": ["^install"]
}
// "build-image": {
// "executor": "@nxrocks/nx-spring-boot:build-image",
// "options": {
// "root": "apps/openchallenges/core-service"
// },
// "dependsOn": ["^install"]
// }
},
"tags": ["type:service", "scope:backend", "language:java", "package-manager:gradle"],
"implicitDependencies": [
Expand Down
Loading

0 comments on commit 2b58591

Please sign in to comment.