diff --git a/.gitignore b/.gitignore index db5db7b9f41..e9956fee835 100644 --- a/.gitignore +++ b/.gitignore @@ -48,4 +48,5 @@ include web/.gitignore .node # integration test -integration-test/metastore_db \ No newline at end of file +integration-test/metastore_db +catalogs/catalog-lakehouse-iceberg/spark-warehouse diff --git a/catalogs/catalog-lakehouse-iceberg/build.gradle.kts b/catalogs/catalog-lakehouse-iceberg/build.gradle.kts index ae61b173cca..f42b7c24941 100644 --- a/catalogs/catalog-lakehouse-iceberg/build.gradle.kts +++ b/catalogs/catalog-lakehouse-iceberg/build.gradle.kts @@ -168,3 +168,7 @@ tasks.test { init(this) } } + +tasks.clean { + delete("spark-warehouse") +} diff --git a/server/build.gradle.kts b/server/build.gradle.kts index a9920a0dc34..9400188fdfd 100644 --- a/server/build.gradle.kts +++ b/server/build.gradle.kts @@ -114,6 +114,6 @@ tasks { environment("GRAVITINO_TEST", "true") } clean { - delete("$propertiesFile") + delete(file(propertiesFile).getParentFile()) } }