Commit e9c1ddd
committed
Keep gwt-user and gwt-dev off the test classpath
The previous refactor moved gwt-user, gwt-dev and gwt-servlet from compileOnly to library(), which adds dependencies to both compileOnly and testImplementation. That dragged gwt-dev's uber-jar onto the test classpath, where its bundled (old) copy of org.apache.commons.io.IOUtils took precedence over the resolved commons-io 2.22.0, breaking testcontainers' shaded docker-java client (NoSuchMethodError on IOUtils.toString(InputStream, Charset)).
Restore the pre-refactor split: gwt-user and gwt-dev are compileOnly, only gwt-servlet uses library() since it's also needed at test runtime. dependencySubstitution still rewrites all three coordinates in latest-deps mode, and the broadened compileClasspath pinning keeps the substituted artifacts pinned.1 parent 0036885 commit e9c1ddd
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments