Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scoverage support for scala 2.11 #8232

Closed
myroslavlisniak opened this issue Sep 2, 2019 · 0 comments
Closed

Scoverage support for scala 2.11 #8232

myroslavlisniak opened this issue Sep 2, 2019 · 0 comments

Comments

@myroslavlisniak
Copy link

myroslavlisniak commented Sep 2, 2019

I tried to run pantsbuild 1.19.0 with enabled scoverage for scala 2.11 with command:
./pants --scala-version="2.11" --scoverage-enable-scoverage=False ${TARGET}.

But compilation was failed due to missing compiler plugin.
Scala compiler was invoked with compiler plugin for scala 2.12
-Xplugin:/Users/myroslav.lisniak/projects/poly/.pants.d/resolve/coursier/e2197a99ff41/cache/relative/https/repo1.maven.org/maven2/com/twitter/scoverage/scalac-scoverage-plugin_2.12/1.0.1-twitter/scalac-scoverage-plugin_2.12-1.0.1-twitter.jar

Also I found that plugin's scala version is hardcoded here https://github.com/pantsbuild/pants/blob/master/src/python/pants/backend/jvm/subsystems/scoverage_platform.py#L43

@benjyw benjyw closed this as completed Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants