「案6 直接testRuntime/testCompileに再設定する方法」の方法でもうまく動いているように見えます

http://nobeans.hatenablog.com/

```
$ unzip -l build/libs/module_b-1.0-SNAPSHOT.war
Archive:  build/libs/module_b-1.0-SNAPSHOT.war
  Length     Date   Time    Name
 --------    ----   ----    ----
        0  04-18-14 08:42   META-INF/
       25  04-18-14 08:42   META-INF/MANIFEST.MF
        0  04-18-14 08:42   WEB-INF/
        0  04-18-14 08:42   WEB-INF/classes/
        0  04-18-14 08:42   WEB-INF/classes/foo/
      242  04-18-14 08:42   WEB-INF/classes/foo/Bar.class
        0  04-18-14 08:42   WEB-INF/lib/
      636  04-18-14 08:38   WEB-INF/lib/module_a-1.0-20140417.233854-1.jar
 --------                   -------
      903                   8 files
```

```
$ gradle dep
:dependencies

------------------------------------------------------------
Root project
------------------------------------------------------------

archives - Configuration for archive artifacts.
No dependencies

compile - Compile classpath for source set 'main'.
\--- ruimo:module_a:1.0-SNAPSHOT
     \--- javax:javaee-api:6.0

default - Configuration for default artifacts.
\--- ruimo:module_a:1.0-SNAPSHOT

providedCompile - Additional compile classpath for libraries that should not be part of the WAR archive.
No dependencies

providedRuntime - Additional runtime classpath for libraries that should not be part of the WAR archive.
No dependencies

runtime - Runtime classpath for source set 'main'.
\--- ruimo:module_a:1.0-SNAPSHOT

testCompile - Compile classpath for source set 'test'.
+--- ruimo:module_a:1.0-SNAPSHOT
|    \--- javax:javaee-api:6.0
+--- junit:junit:4.10
|    \--- org.hamcrest:hamcrest-core:1.1
\--- javax:javaee-api:6.0

testRuntime - Runtime classpath for source set 'test'.
+--- ruimo:module_a:1.0-SNAPSHOT
\--- junit:junit:4.10
     \--- org.hamcrest:hamcrest-core:1.1

BUILD SUCCESSFUL

Total time: 0.75 secs
```