mirror of
https://github.com/google/nomulus
synced 2025-12-23 06:15:42 +00: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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user