Skip to content

gradlew test fails in compileJava when Java-only profile omits Facet/Phon/Vox dependencies #611

Description

@TeamDman

Problem

On the 1.19.2 branch, running ./gradlew test with the default Java-only dependency profile never reaches JUnit. The build fails during compileJava with missing-symbol errors (219 were observed).

The default profile removes the Facet, Phon, and Vox dependencies from the compile classpath, but its source exclusions no longer exclude every source file that imports those APIs. This leaves an internally inconsistent profile: unavailable optional APIs are still referenced by sources selected for compilation.

Reproduction

  1. Check out the 1.19.2 branch.
  2. Run ./gradlew test using the default Java-only profile.
  3. Observe that compileJava fails before any JUnit tests execute.

Expected behavior

The ordinary Gradle test workflow should compile and reach JUnit without requiring sfm-propagate-changes.exe. It is acceptable for hot swapping or richer toolchain features to require the companion tool, but the supported Gradle test path should remain functional.

Suggested acceptance criteria

  • Align the Java-only profile source exclusions with every source that depends on Facet, Phon, or Vox, or make the required dependencies available to that profile.
  • Add a regression check that runs the default gradlew test path and proves it reaches and executes JUnit.
  • Keep optional dependency/profile behavior explicit so a source importing a removed dependency cannot silently re-enter compileJava.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions