Commit cd1759b
committed
set correct maven scope for java tasks
Update the Java task runner to detect if the current file is inside a
test directory ('src/test/'). Depending on the file location, Maven
will now dynamically select 'test-compile' and 'test' classpath scope
or 'compile' and 'runtime' scope. This ensures that main classes are
executed with the correct dependencies and build targets.
Additionally, the Rust test suite has been heavily refactored. It now
utilizes a builder pattern (TestProject and TaskRunner) to simplify
setup, improve readability, and add test coverage for both runtime
and test execution paths across Maven and Gradle.1 parent c259bef commit cd1759b
2 files changed
Lines changed: 367 additions & 396 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments