Skip to content

[BUG] Spotless Not Applying to YAGSL #50

@Advay17

Description

@Advay17

YAGSL Version

2026.4.1

WPILib Version

2026.2.1

What motor controller(s) are you using?

Other (specify below)

Other motor/hardware details (if any)

N/A

What went wrong?

Not a bug for motor controllers, but the project's spotless formatting for Java is broken. Because the Java code is stored outside of the project directory, it is ignored by the formatter. It cannot be included by changing the file tree target because spotless cannot format files outside of the target directory. Is there a reason why the Java code needs to be stored outside of the vendordep folder?

Steps to Reproduce

  1. Add whitespace(or any other formatting violation) to a Java file
  2. Run spotlessApply
  3. The Java file will not be formatted

Logs or Console Output

Relevant Code (if any)

Checklist

  • I am using the latest YAGSL version
  • I searched existing issues for duplicates

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions