Skip to content

Commit

Permalink
Replace generated plugin.toml if existing
Browse files Browse the repository at this point in the history
  • Loading branch information
serivesmejia committed Nov 22, 2024
1 parent dffc761 commit 23fb0d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions EOCVSimPlugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ tasks.register('generatePluginToml') {
// Use layout.buildDirectory for the output directory
def outputFile = layout.buildDirectory.file("resources/main/plugin.toml")

outputFile.get().asFile.delete()
outputs.file(outputFile) // Mark this file as an output of the task

doLast {
Expand Down

0 comments on commit 23fb0d9

Please sign in to comment.