mirror of
https://github.com/corda/corda.git
synced 2024-12-29 09:18:58 +00:00
[ENT-1363] DB integration test fixes (#411)
Dependencies on JDBC drivers in 'node' need to be marked as 'runtime' instead of 'integrationTestRuntimeOnly', to make them available to integration tests in other projects.
This commit is contained in:
parent
83ea4611ca
commit
3be30af161
@ -201,7 +201,7 @@ dependencies {
|
|||||||
if (DB_PROVIDER != null) {
|
if (DB_PROVIDER != null) {
|
||||||
final driverDependency = jdbcRuntimeDependency[DB_PROVIDER]
|
final driverDependency = jdbcRuntimeDependency[DB_PROVIDER]
|
||||||
if (driverDependency != null) {
|
if (driverDependency != null) {
|
||||||
integrationTestRuntimeOnly driverDependency
|
runtime driverDependency
|
||||||
} else {
|
} else {
|
||||||
throw new GradleException('Unsupported DB provider: ' + DB_PROVIDER)
|
throw new GradleException('Unsupported DB provider: ' + DB_PROVIDER)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user