buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Philippe Caruana ...@target2sell.com>
Subject Re: junit conflict in idea
Date Mon, 03 Mar 2014 13:49:22 GMT
Le 03/03/2014 14:36, Tammo van Lessen a écrit :
> Hi Jean Philippe,
> 
> If I'm not mistaken, adding the following line to the beginning of your
> buildfile should help:
> 
> Buildr.settings.build['junit'] = '4.11'
> 
> In order to avoid conflicts, you can reference JUnit.dependencies instead
> of your own JUNIT constant.

I didn't know that ! Thanks !
But I still have the issue, but my buildfile looks like this now :

  Buildr.settings.build['junit'] = '4.11'
  JUNIT = JUnit.dependencies, 'org.hamcrest:hamcrest-core:jar:1.3',
'com.github.stefanbirkner:system-rules:jar:1.4.0',
'org.junit.contrib:junit-theories:jar:4.11', QUICKCHECK

Please note that in eclipse there is no such issue, so I suspect the
idea plugin here.

-- 
Jean-Philippe Caruana
http://www.barreverte.fr

Mime
View raw message