Skip to content

Commit

Permalink
update format tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaffter committed Mar 21, 2024
1 parent 483e253 commit e6d6a72
Show file tree
Hide file tree
Showing 17 changed files with 117 additions and 78 deletions.
5 changes: 3 additions & 2 deletions apps/openchallenges/api-gateway/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@
"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 Down
5 changes: 3 additions & 2 deletions apps/openchallenges/auth-service/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@
"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 Down
15 changes: 9 additions & 6 deletions apps/openchallenges/challenge-service/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,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 Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,24 @@
"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 Down
15 changes: 9 additions & 6 deletions apps/openchallenges/config-server/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,24 @@
"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 Down
5 changes: 3 additions & 2 deletions apps/openchallenges/core-service/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@
"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 Down
15 changes: 9 additions & 6 deletions apps/openchallenges/image-service/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,24 @@
"dependsOn": ["test"]
},
"clean": {
"executor": "@nxrocks/nx-spring-boot:clean",
"executor": "nx:run-commands",
"options": {
"root": "apps/openchallenges/image-service"
"command": "./gradlew clean",
"cwd": "{projectRoot}"
}
},
"format": {
"executor": "@nxrocks/nx-spring-boot:format",
"executor": "nx:run-commands",
"options": {
"root": "apps/openchallenges/image-service"
"command": "./gradlew spotlessApply",
"cwd": "{projectRoot}"
}
},
"format-check": {
"executor": "@nxrocks/nx-spring-boot:check-format",
"executor": "nx:run-commands",
"options": {
"root": "apps/openchallenges/image-service"
"command": "./gradlew spotlessCheck",
"cwd": "{projectRoot}"
}
},
"serve": {
Expand Down
15 changes: 9 additions & 6 deletions apps/openchallenges/kaggle-to-kafka-service/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,24 @@
"dependsOn": ["^install"]
},
"clean": {
"executor": "@nxrocks/nx-spring-boot:clean",
"executor": "nx:run-commands",
"options": {
"root": "apps/openchallenges/kaggle-to-kafka-service"
"command": "./gradlew clean",
"cwd": "{projectRoot}"
}
},
"format": {
"executor": "@nxrocks/nx-spring-boot:format",
"executor": "nx:run-commands",
"options": {
"root": "apps/openchallenges/kaggle-to-kafka-service"
"command": "./gradlew spotlessApply",
"cwd": "{projectRoot}"
}
},
"format-check": {
"executor": "@nxrocks/nx-spring-boot:check-format",
"executor": "nx:run-commands",
"options": {
"root": "apps/openchallenges/kaggle-to-kafka-service"
"command": "./gradlew spotlessCheck",
"cwd": "{projectRoot}"
}
},
"serve": {
Expand Down
15 changes: 9 additions & 6 deletions apps/openchallenges/organization-service/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,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 Down
5 changes: 3 additions & 2 deletions apps/openchallenges/service-registry/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@
"dependsOn": ["^install"]
},
"clean": {
"executor": "@nxrocks/nx-spring-boot:clean",
"executor": "nx:run-commands",
"options": {
"root": "apps/openchallenges/service-registry"
"command": "./gradlew clean",
"cwd": "{projectRoot}"
}
},
"serve": {
Expand Down
15 changes: 9 additions & 6 deletions apps/openchallenges/user-service/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,24 @@
"dependsOn": ["^install"]
},
"clean": {
"executor": "@nxrocks/nx-spring-boot:clean",
"executor": "nx:run-commands",
"options": {
"root": "apps/openchallenges/user-service"
"command": "./gradlew clean",
"cwd": "{projectRoot}"
}
},
"format": {
"executor": "@nxrocks/nx-spring-boot:format",
"executor": "nx:run-commands",
"options": {
"root": "apps/openchallenges/user-service"
"command": "./gradlew spotlessApply",
"cwd": "{projectRoot}"
}
},
"format-check": {
"executor": "@nxrocks/nx-spring-boot:check-format",
"executor": "nx:run-commands",
"options": {
"root": "apps/openchallenges/user-service"
"command": "./gradlew spotlessCheck",
"cwd": "{projectRoot}"
}
},
"serve": {
Expand Down
15 changes: 9 additions & 6 deletions libs/openchallenges/app-config-data/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,24 @@
"dependsOn": ["^install"]
},
"clean": {
"executor": "@nxrocks/nx-spring-boot:clean",
"executor": "nx:run-commands",
"options": {
"root": "libs/openchallenges/app-config-data"
"command": "./gradlew clean",
"cwd": "{projectRoot}"
}
},
"format": {
"executor": "@nxrocks/nx-spring-boot:format",
"executor": "nx:run-commands",
"options": {
"root": "libs/openchallenges/app-config-data"
"command": "./gradlew spotlessApply",
"cwd": "{projectRoot}"
}
},
"format-check": {
"executor": "@nxrocks/nx-spring-boot:check-format",
"executor": "nx:run-commands",
"options": {
"root": "libs/openchallenges/app-config-data"
"command": "./gradlew spotlessCheck",
"cwd": "{projectRoot}"
}
}
},
Expand Down
15 changes: 9 additions & 6 deletions libs/openchallenges/kafka-admin/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,24 @@
"dependsOn": ["^install"]
},
"clean": {
"executor": "@nxrocks/nx-spring-boot:clean",
"executor": "nx:run-commands",
"options": {
"root": "libs/openchallenges/kafka-admin"
"command": "./gradlew clean",
"cwd": "{projectRoot}"
}
},
"format": {
"executor": "@nxrocks/nx-spring-boot:format",
"executor": "nx:run-commands",
"options": {
"root": "libs/openchallenges/kafka-admin"
"command": "./gradlew spotlessApply",
"cwd": "{projectRoot}"
}
},
"format-check": {
"executor": "@nxrocks/nx-spring-boot:check-format",
"executor": "nx:run-commands",
"options": {
"root": "libs/openchallenges/kafka-admin"
"command": "./gradlew spotlessCheck",
"cwd": "{projectRoot}"
}
}
},
Expand Down
15 changes: 9 additions & 6 deletions libs/openchallenges/kafka-consumer/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,24 @@
"dependsOn": ["^install"]
},
"clean": {
"executor": "@nxrocks/nx-spring-boot:clean",
"executor": "nx:run-commands",
"options": {
"root": "libs/openchallenges/kafka-consumer"
"command": "./gradlew clean",
"cwd": "{projectRoot}"
}
},
"format": {
"executor": "@nxrocks/nx-spring-boot:format",
"executor": "nx:run-commands",
"options": {
"root": "libs/openchallenges/kafka-consumer"
"command": "./gradlew spotlessApply",
"cwd": "{projectRoot}"
}
},
"format-check": {
"executor": "@nxrocks/nx-spring-boot:check-format",
"executor": "nx:run-commands",
"options": {
"root": "libs/openchallenges/kafka-consumer"
"command": "./gradlew spotlessCheck",
"cwd": "{projectRoot}"
}
}
},
Expand Down
5 changes: 3 additions & 2 deletions libs/openchallenges/kafka-model/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@
"dependsOn": ["^install"]
},
"clean": {
"executor": "@nxrocks/nx-spring-boot:clean",
"executor": "nx:run-commands",
"options": {
"root": "libs/openchallenges/kafka-model"
"command": "./gradlew clean",
"cwd": "{projectRoot}"
}
}
},
Expand Down
Loading

0 comments on commit e6d6a72

Please sign in to comment.