Typically we have a test block which uses a configuration that has the shadow/shadowTest configurations on the classpath instead of the compile/testCompile configurations. The most common examples are validates runner/integration tests for example: https://github.com/apache/beam/blob/0c5ebc449554a02cae5e4fd01afb07ecdb0bbaea/runners/direct-java/build.gradle#L84
On Thu, May 17, 2018 at 3:59 PM Andrew Pilloud <apill...@google.com> wrote: > I decided to try our new JDBC support with sqlline and discovered that our > SQL shaded jar is completely broken. As in java.lang.NoClassDefFoundError > all over the place. How are we testing the output jars from other beam > packages? Is there an example I can follow to make our integration tests > run against the release artifacts? > > Andrew >