{ "name": "gradle-project-graph", "$schema": "node_modules/nx/schemas/project-schema.json", "targets": { "test": { "command": "./gradlew :project-graph:test", "options": { "args": [] }, "cache": true }, "lint": { "command": "./gradlew :project-graph:ktfmtCheck", "cache": true }, "format": { "command": "./gradlew :project-graph:ktfmtFormat", "cache": true }, "publish-staging": { "command": "./gradlew :project-graph:publish", "cache": true, "outputs": ["{projectRoot}/build/staging"] }, "zip-staging": { "command": "zip -r ../deployment.zip .", "options": { "cwd": "{projectRoot}/build/staging" }, "inputs": ["{projectRoot}/build/staging"], "outputs": ["{projectRoot}/build/deployment.zip"], "dependsOn": ["publish-staging"] }, "maven": { "command": "npx ts-node publish-maven.ts --deploymentZipPath=build/deployment.zip", "options": { "cwd": "{projectRoot}" }, "inputs": ["{projectRoot}/build/deployment.zip"], "dependsOn": ["zip-staging"] } } }