Skip to content

Add source encoding support #29

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

Closed
gslowikowski opened this issue Feb 4, 2016 · 4 comments
Closed

Add source encoding support #29

gslowikowski opened this issue Feb 4, 2016 · 4 comments
Assignees
Milestone

Comments

@gslowikowski
Copy link
Member

Version 1.2.0 of scalac-scoverage-plugin adds source encoding support.

In Maven the convention is to specify source encoding as project property

<properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

This plugin's new encoding configuration parameter will use this property as default value.
If no encoding is specified, platform encoding will be used (not recommended, see https://maven.apache.org/general.html#encoding-warning).

gslowikowski added a commit that referenced this issue Feb 4, 2016
@gslowikowski gslowikowski self-assigned this Feb 4, 2016
@gslowikowski gslowikowski added this to the 1.2.0 milestone Feb 4, 2016
@gslowikowski
Copy link
Member Author

New 1.2.0-SNAPSHOT snapshot deployed.

@gslowikowski
Copy link
Member Author

Documentation generated and published.

@allenn
Copy link
Contributor

allenn commented Nov 21, 2016

Writing aggregate scenario is not fixed.

gslowikowski added a commit that referenced this issue Nov 21, 2016
Write aggregate report throw exception: java.nio.charset.MalformedInputException: Input length = 1

Commit 7be5b77 (in issue #29) added encoding support only in non-aggregated reports.
@gslowikowski
Copy link
Member Author

Encoding support in aggregated reports fixed by #46, available since version 1.3.0.

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

No branches or pull requests

2 participants