Skip to content

Make scala_db_test targets debuggable#7

Open
jadenPete wants to merge 14 commits into
lucidfrom
jpeterson-makes-scala-db-tests-debuggable
Open

Make scala_db_test targets debuggable#7
jadenPete wants to merge 14 commits into
lucidfrom
jpeterson-makes-scala-db-tests-debuggable

Conversation

@jadenPete
Copy link
Copy Markdown

No description provided.

borkaehw and others added 14 commits March 19, 2026 11:07
… fix header_ bug from rules_jvm_external.

The Scala 2 SDK was quite simple and included essentially just a library
and compiler. The Scala 3 SDK has many more dependencies.

This is a quick and hacky way of setting this up. Long term, this should be
modified such that the SDK jars are pulled from the Scala toolchain.

This also fixes the bug caused by rules_jvm_external prepending header_
to the compile jars. The header_ prefix breaks some things in the IntelliJ
Scala plugin, so long term, we should work with the rules_jvm_external
folks to fix that.
… header_

This fixes jars being missed in the Scala SDK finder/creator.
SCALA_TEST("scala_test", LanguageClass.SCALA, RuleType.TEST),
SCALA_JUNIT_TEST("scala_junit_test", LanguageClass.SCALA, RuleType.TEST);
SCALA_JUNIT_TEST("scala_junit_test", LanguageClass.SCALA, RuleType.TEST),
SCALA_DB_TEST("_scala_db_test", LanguageClass.SCALA, RuleType.TEST);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's see if just checking that it's a _test and checking for a java info output group would suffice

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants