1. David Carr
  2. jayne-site


David Carr  committed 88c11d2

build: remove junit from compile dependencies

This crept in when I added the plexus-container-default dependency back. I don't want it for two reasons.
First, I don't think that junit should be used at compile-time for this plugin. Second, Spock uses junit:junit-dep
rather than junit:junit.

  • Participants
  • Parent commits dfa06c5
  • Branches default

Comments (0)

Files changed (1)

File build.gradle

View file
  • Ignore whitespace
     // However, it's best to declare it explicitly so that if a subsequent version of Gradle changes that dependency,
     // the plugin should still work.  If that were to happen, it might be worth breaking compatibility with the older
     // versions of Gradle and switching to org.sonatype.sisu:sisu-inject-plexus.
-    compile 'org.codehaus.plexus:plexus-container-default:1.0-alpha-9-stable-1'
+    compile('org.codehaus.plexus:plexus-container-default:1.0-alpha-9-stable-1') {
+        exclude group: 'junit'
+    }
     compile 'org.apache.maven.wagon:wagon-file:2.3'
     compile 'org.apache.maven.wagon:wagon-ftp:2.3'