Just added Cobertura to project and faced with problem like in this question.
How can I add a lib only for test environment to Grails project?
Or maybe you know a better solution for Coberture in Grails?
Asked
Active
Viewed 34 times
0
-
Can't you set the dependencies in BuildConfig.groovy to be in the "test" phase? Thus only available in the test environment? – Joshua Moore Aug 29 '14 at 11:58
-
@Joshua Moore Dependencies to what? See the response in question I've provided. The solution is to add a jar that not in any repository – Mr. Cat Aug 29 '14 at 12:11
-
I was suggesting putting it in a repository, otherwise the question you have linked to is the solution to removing the jar from the lib directory for your project. – Joshua Moore Aug 29 '14 at 12:12
-
Probably you are right. I have an internal repository on project. Any other ideas how it can be done? – Mr. Cat Aug 29 '14 at 12:18