mirror of
https://github.com/google/nomulus.git
synced 2025-07-03 09:43:30 +02:00
Create a new app to hold GenerateSqlSchemaCommand (#409)
* Create a new app to hold GenerateSqlSchemaCommand GenerateSqlSchemaCommand starts postgresql using testcontainer. This makes junit etc a runtime dependency, allowing them to get into release artifacts. By moving this command to a separate tool, we can remove junit etc as compile/runtime dependency.
This commit is contained in:
parent
1143b25391
commit
6aaf081489
60 changed files with 1163 additions and 154 deletions
|
@ -58,10 +58,8 @@ configurations {
|
|||
it.name in ['runtimeClasspath', 'compileClasspath']
|
||||
}.each {
|
||||
// JUnit is from org.apache.beam:beam-runners-google-cloud-dataflow-java,
|
||||
// testcontainer (which we use in the nomulus tool), and json-simple.
|
||||
// We should really be excluding this, however GenerateSqlCommand in
|
||||
// nomulus-tool currently uses testcontainers which, in turn, needs junit.
|
||||
//exclude group: 'junit'
|
||||
// and json-simple.
|
||||
it.exclude group: 'junit'
|
||||
// Mockito is from org.apache.beam:beam-runners-google-cloud-dataflow-java
|
||||
// See https://issues.apache.org/jira/browse/BEAM-8862
|
||||
it.exclude group: 'org.mockito', module: 'mockito-core'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue