kt3k / coveralls-gradle-plugin

👨‍🔧 gradle plugin for coveralls
https://plugins.gradle.org/plugin/com.github.kt3k.coveralls
MIT License
253 stars 54 forks source link

path prefix issue with jaCoCo #10

Closed dhalperi closed 10 years ago

dhalperi commented 10 years ago

Hi,

So I'm running into the following issue: Coveralls claims it can't find the source files.

screen shot 2014-03-19 at 11 20 16 pm

the src in the screenshot was a test, and has no effect on the coveralls behavior

The reason is that the source code is not rooted in /, but rather in /src. jaCoCo seems to use only the Java path to the file, not the full path. I can't figure out how to make jaCoCo prepend the /src to the reported filename.

Any advice? How does the jaCoCo stuff work on your end?

kt3k commented 10 years ago

I deployed v0.4.0 including the above two fixes.

http://search.maven.org/#artifactdetails%7Corg.kt3k.gradle.plugin%7Ccoveralls-gradle-plugin%7C0.4.0%7Cjar

Thanks! :smile:

dhalperi commented 10 years ago

Closing as fixed. Thanks!