From b6d9aa1b2ac5e9aa879a274e7cea7547e6b196e7 Mon Sep 17 00:00:00 2001 From: Mitchell Gale Date: Tue, 11 Jul 2023 15:09:17 -0700 Subject: [PATCH] Adding Spotless to DEVELOPER_GUIDE.rst Signed-off-by: Mitchell Gale --- DEVELOPER_GUIDE.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/DEVELOPER_GUIDE.rst b/DEVELOPER_GUIDE.rst index 516cf23556..d8948e897e 100644 --- a/DEVELOPER_GUIDE.rst +++ b/DEVELOPER_GUIDE.rst @@ -113,7 +113,7 @@ Note that missing license header will be detected by Gradle license plugin and f Making Code Changes =================== -Project Strucure +Project Structure ---------------- The plugin codebase is in standard layout of Gradle project:: @@ -224,6 +224,10 @@ Most of the time you just need to run ./gradlew build which will make sure you p - Build plugin by run all tasks above (this takes time). * - ./gradlew pitest - Run PiTest mutation testing (see more info in `#1204 `_) + * - ./gradlew spotlessCheck + - Runs Spotless to check for code style. + * - ./gradlew spotlessApply + - Automatically apply spotless code style changes. For integration test, you can use ``-Dtests.class`` “UT full path” to run a task individually. For example ``./gradlew :integ-test:integTest -Dtests.class="*QueryIT"``.