#### quick build ```bash ./gradlew build -x test -x integrationTest -x spotlessJavaCheck -x checkstyleTest ``` #### full build, like `mvn install` By default only modules for one Spark/Flink/Scala versions are built. To get the full build, component versions need to be enumerated. ```bash ./gradlew -DallModules=true -x test -x integrationTest build publishToMavenLocal ``` #### reformat code ```bash ./gradlew -DallModules=true spotlessApply ``` #### run a single Spark test class ```bash ./gradlew :iceberg-spark:iceberg-spark-extensions:test --tests TestRemoveOrphanFilesProcedure # or with non-default Spark version ./gradlew -DsparkVersions=3.2 :iceberg-spark:iceberg-spark-extensions:test --tests TestRemoveOrphanFilesProcedure ``` #### run individual Spark test methods ```bash # Note that * at the end of the method name is required ./gradlew -DsparkVersions=3.3 :iceberg-spark:iceberg-spark-extensions:test \ --tests TestRemoveOrphanFilesProcedure.testRemoveOrphanFilesWithStatisticFiles\* \ --tests TestRemoveOrphanFilesAction3.testRemoveOrphanFilesWithStatisticFiles\* ```