Grails 2.0.3 + JUnit 4.8.2 -


i running grails 2.0.3. version uses junit 4.10 use @ least version 4.8.2. have added dependency next:

compile 'junit:junit-dep:4.8.2'  runtime 'junit:junit:4.8.2' 

but seems not getting new version. how can delete/exclude old version of junit?? thanks!

this should works:

inherits("global") {     excludes "junit" }  dependencies {     test "junit:junit:4.8.2" } 

answer based on using junit 4 in grails. tested on grail 2.1.0 , works.


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -