From b4d46323d0077f201d3c29aa42710ee553a0a61c Mon Sep 17 00:00:00 2001 From: Aseem Bansal Date: Mon, 14 Aug 2023 09:09:20 +0530 Subject: [PATCH] fix(cleanup): cleanup of 2 sub-modules (#8616) --- metadata-io/build.gradle | 4 ++++ metadata-models/build.gradle | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/metadata-io/build.gradle b/metadata-io/build.gradle index 98b741b6f51a6..ae56cd4cb8a96 100644 --- a/metadata-io/build.gradle +++ b/metadata-io/build.gradle @@ -136,3 +136,7 @@ sourceSets.main.java.srcDir "${generateOpenApiPojos.outputDir}/src/main/java" sourceSets.main.resources.srcDir "${generateOpenApiPojos.outputDir}/src/main/resources" checkstyleMain.exclude '**/generated/**' + +clean { + project.delete("$projectDir/generated") +} \ No newline at end of file diff --git a/metadata-models/build.gradle b/metadata-models/build.gradle index 26b9be6acbb89..432823852a263 100644 --- a/metadata-models/build.gradle +++ b/metadata-models/build.gradle @@ -37,3 +37,7 @@ tasks.register('generateJsonSchema', GenerateJsonSchemaTask) { it.setOutputDirectory("$projectDir/src/generatedJsonSchema") dependsOn generateAvroSchema } + +clean { + project.delete("$projectDir/src/generatedJsonSchema") +} \ No newline at end of file