mirror of
https://github.com/google/nomulus.git
synced 2025-05-30 09:20:29 +02:00
Verify RegistryTool can instantiate (#400)
* Verify RegistryTool can instantiate Add a task that instantiates all command classes in RegistryTool with runtimeClasspath. Also make sure that runtimeClasspath is a superset of compileClasspath.
This commit is contained in:
parent
df7d272157
commit
bba5aff4b6
4 changed files with 36 additions and 4 deletions
|
@ -54,7 +54,9 @@ tasks.test.finalizedBy jacocoTestReport
|
|||
configurations {
|
||||
deploy_jar.extendsFrom runtimeClasspath
|
||||
|
||||
runtimeClasspath {
|
||||
all.findAll {
|
||||
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
|
||||
|
@ -62,7 +64,7 @@ configurations {
|
|||
//exclude group: 'junit'
|
||||
// Mockito is from org.apache.beam:beam-runners-google-cloud-dataflow-java
|
||||
// See https://issues.apache.org/jira/browse/BEAM-8862
|
||||
exclude group: 'org.mockito', module: 'mockito-core'
|
||||
it.exclude group: 'org.mockito', module: 'mockito-core'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue