Skip to content

Commit

Permalink
ci: repair nx files after update
Browse files Browse the repository at this point in the history
Signed-off-by: Debanjan Chatterjee <[email protected]>
  • Loading branch information
itsdebs committed Oct 16, 2023
1 parent b7a2f75 commit a87a8ff
Show file tree
Hide file tree
Showing 11 changed files with 156 additions and 53 deletions.
20 changes: 15 additions & 5 deletions android/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,23 @@
"targets": {
"build": {
"executor": "@jnxplus/nx-gradle:build",
"outputs": ["./android/build"]
"outputs": [
"{projectRoot}/android/build"
]
},
"lint": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "@jnxplus/nx-gradle:lint",
"options": {
"linter": "ktlint"
}
},
"test": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "@jnxplus/nx-gradle:test"
},
"ktformat": {
Expand Down Expand Up @@ -44,14 +50,18 @@
}
},
"release-sonatype": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "nx:run-commands",
"options": {
"command": "echo 'android-release' && ./gradlew :android:publishToSonatype -Prelease closeAndReleaseSonatypeStagingRepository"
}
},
"snapshot-release": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "nx:run-commands",
"options": {
"command": "echo 'android-snapshot' && ./gradlew :android:publishToSonatype"
Expand Down
20 changes: 15 additions & 5 deletions core/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,23 @@
"targets": {
"build": {
"executor": "@jnxplus/nx-gradle:build",
"outputs": ["./core/build"]
"outputs": [
"{projectRoot}/core/build"
]
},
"lint": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "@jnxplus/nx-gradle:lint",
"options": {
"linter": "ktlint"
}
},
"test": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "@jnxplus/nx-gradle:test"
},
"ktformat": {
Expand Down Expand Up @@ -44,14 +50,18 @@
}
},
"release-sonatype": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "nx:run-commands",
"options": {
"command": "echo 'core-release' && ./gradlew :core:publishToSonatype -Prelease closeAndReleaseSonatypeStagingRepository"
}
},
"snapshot-release": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "nx:run-commands",
"options": {
"command": "echo 'core-snapshot' && ./gradlew :core:publishToSonatype"
Expand Down
27 changes: 19 additions & 8 deletions gsonrudderadapter/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,30 @@
"build": {
"dependsOn": [
{
"projects":[
"rudderjsonadapter"],
"target":"build"
"projects": [
"rudderjsonadapter"
],
"target": "build"
}
],
"executor": "@jnxplus/nx-gradle:build",
"outputs": ["./gsonrudderadapter/build"]
"outputs": [
"{projectRoot}/gsonrudderadapter/build"
]
},
"lint": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "@jnxplus/nx-gradle:lint",
"options": {
"linter": "ktlint"
}
},
"test": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "@jnxplus/nx-gradle:test"
},
"ktformat": {
Expand Down Expand Up @@ -52,14 +59,18 @@
}
},
"release-sonatype": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "nx:run-commands",
"options": {
"command": "echo 'gsonrudderadapter-release' && ./gradlew publishToSonatype -p gsonrudderadapter -Prelease && ./gradlew findSonatypeStagingRepository closeSonatypeStagingRepository && ./gradlew findSonatypeStagingRepository releaseSonatypeStagingRepository"
}
},
"snapshot-release": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "nx:run-commands",
"options": {
"command": "echo 'gsonrudderadapter-snapshot' && cd gsonrudderadapter && sh ../gradlew generatePomFileForReleasePublication && sh ../gradlew publishToSonatype && cd .."
Expand Down
24 changes: 17 additions & 7 deletions jacksonrudderadapter/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,30 @@
"build": {
"dependsOn": [
{
"projects":[
"projects": [
"rudderjsonadapter"
],
"target":"build"
"target": "build"
}
],
"executor": "@jnxplus/nx-gradle:build",
"outputs": ["./jacksonrudderadapter/build"]
"outputs": [
"{projectRoot}/jacksonrudderadapter/build"
]
},
"lint": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "@jnxplus/nx-gradle:lint",
"options": {
"linter": "ktlint"
}
},
"test": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "@jnxplus/nx-gradle:test"
},
"ktformat": {
Expand Down Expand Up @@ -53,14 +59,18 @@
}
},
"release-sonatype": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "nx:run-commands",
"options": {
"command": "echo 'jacksonrudderadapter-release' && ./gradlew publishToSonatype -p jacksonrudderadapter -Prelease && ./gradlew findSonatypeStagingRepository closeSonatypeStagingRepository && ./gradlew findSonatypeStagingRepository releaseSonatypeStagingRepository"
}
},
"snapshot-release": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "nx:run-commands",
"options": {
"command": "echo 'jacksonrudderadapter-snapshot' && cd jacksonrudderadapter && sh ../gradlew generatePomFileForReleasePublication && ../gradlew publishToSonatype && cd .."
Expand Down
20 changes: 15 additions & 5 deletions models/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,23 @@
"targets": {
"build": {
"executor": "@jnxplus/nx-gradle:build",
"outputs": ["./models/build"]
"outputs": [
"{projectRoot}/models/build"
]
},
"lint": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "@jnxplus/nx-gradle:lint",
"options": {
"linter": "ktlint"
}
},
"test": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "@jnxplus/nx-gradle:test"
},
"ktformat": {
Expand Down Expand Up @@ -45,14 +51,18 @@
}
},
"release-sonatype": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "nx:run-commands",
"options": {
"command": "echo 'models-release' && cd models && sh ../gradlew generatePomFileForReleasePublication && ../gradlew publishToSonatype && cd .. && ./gradlew findSonatypeStagingRepository closeSonatypeStagingRepository && ./gradlew findSonatypeStagingRepository releaseSonatypeStagingRepository"
}
},
"snapshot-release": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "nx:run-commands",
"options": {
"command": "echo 'models-snapshot' && cd models && sh ../gradlew generatePomFileForReleasePublication && ../gradlew publishToSonatype && cd .."
Expand Down
8 changes: 5 additions & 3 deletions moshirudderadapter/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@
"build": {
"dependsOn": [
{
"projects":[
"projects": [
"rudderjsonadapter"
],
"target":"build"
"target": "build"
}
],
"executor": "@jnxplus/nx-gradle:build",
"outputs": ["./moshirudderadapter/build"]
"outputs": [
"{projectRoot}/moshirudderadapter/build"
]
},
"lint": {
"executor": "@jnxplus/nx-gradle:lint",
Expand Down
19 changes: 19 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,24 @@
},
"affected": {
"defaultBase": "origin/master-v2"
},
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"namedInputs": {
"default": [
"{projectRoot}/**/*",
"sharedGlobals"
],
"sharedGlobals": [],
"production": [
"default"
]
},
"targetDefaults": {
"build": {
"inputs": [
"production",
"^production"
]
}
}
}
20 changes: 15 additions & 5 deletions repository/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,23 @@
"targets": {
"build": {
"executor": "@jnxplus/nx-gradle:build",
"outputs": ["./repository/build"]
"outputs": [
"{projectRoot}/repository/build"
]
},
"lint": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "@jnxplus/nx-gradle:lint",
"options": {
"linter": "ktlint"
}
},
"test": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "@jnxplus/nx-gradle:test"
},
"ktformat": {
Expand Down Expand Up @@ -45,14 +51,18 @@
}
},
"release-sonatype": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "nx:run-commands",
"options": {
"command": "echo 'repository-release' && ./gradlew publishToSonatype -p repository -Prelease && ./gradlew findSonatypeStagingRepository closeSonatypeStagingRepository && ./gradlew findSonatypeStagingRepository releaseSonatypeStagingRepository"
}
},
"snapshot-release": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "nx:run-commands",
"options": {
"command": "echo 'repository-snapshot' && cd repository && sh ../gradlew generatePomFileForReleasePublication && ../gradlew publishToSonatype && cd .."
Expand Down
20 changes: 15 additions & 5 deletions rudderjsonadapter/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,23 @@
"targets": {
"build": {
"executor": "@jnxplus/nx-gradle:build",
"outputs": ["./rudderjsonadapter/build"]
"outputs": [
"{projectRoot}/rudderjsonadapter/build"
]
},
"lint": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "@jnxplus/nx-gradle:lint",
"options": {
"linter": "ktlint"
}
},
"test": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "@jnxplus/nx-gradle:test"
},
"ktformat": {
Expand Down Expand Up @@ -45,14 +51,18 @@
}
},
"release-sonatype": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "nx:run-commands",
"options": {
"command": "echo 'rudderjsonadapter-release' && cd rudderjsonadapter && sh ../gradlew generatePomFileForReleasePublication && ../gradlew publishToSonatype -Prelease && cd .. && ./gradlew findSonatypeStagingRepository closeSonatypeStagingRepository && ./gradlew findSonatypeStagingRepository releaseSonatypeStagingRepository"
}
},
"snapshot-release": {
"dependsOn": ["build"],
"dependsOn": [
"build"
],
"executor": "nx:run-commands",
"options": {
"command": "echo 'rudderjsonadapter-snapshot' && cd rudderjsonadapter && sh ../gradlew generatePomFileForReleasePublication && ../gradlew publishToSonatype && cd .."
Expand Down
Loading

0 comments on commit a87a8ff

Please sign in to comment.