> For the complete documentation index, see [llms.txt](https://docs.sealights.io/knowledgebase/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sealights.io/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/java-build-tools-plugins/sealights-gradle-plugin-1/running-tests-only-json-file.md).

# Core Concepts

SeaLights SBT Plugin uses shared Java Build Tools concepts:

* **Build Scanner:** collects project info and prepares instrumentation
* **Test Listener:** streams test execution to SeaLights
* **Build Session ID:** unique identifier per build
* **Test Stages:** logical grouping of tests (Unit, Integration)
* [**Execution Modes**](#execution-modes)**:** control what runs (full run, scan only, tests only, disabled)

{% hint style="info" %}
See [Java Build Tools Plugins](/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/java-build-tools-plugins.md) for details on Core Concepts.
{% endhint %}

#### Execution Modes

<table><thead><tr><th width="118.2265625">Mode</th><th>Configuration</th><th>Description</th></tr></thead><tbody><tr><td>Full Run</td><td>default</td><td>Build scan + instrumented tests</td></tr><tr><td>Scan Only</td><td><code>sealightsRunScanOnly := Some(true)</code></td><td>Only run Build Scanner, skip tests</td></tr><tr><td>Tests Only</td><td><code>sealightsRunTestOnly := Some(true)</code></td><td>Reuse previous scan, run tests only</td></tr><tr><td>Disabled</td><td><code>sealightsDisabled := Some(true)</code></td><td>Skip SeaLights integration</td></tr></tbody></table>

{% hint style="info" %}
**Note:** Modes can also be configured in JSON via `executionType` (`scanonly` / `testsonly` / `disabled`).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sealights.io/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/java-build-tools-plugins/sealights-gradle-plugin-1/running-tests-only-json-file.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
