From c787561141394e6b22b40f930a816cc312382fbb Mon Sep 17 00:00:00 2001 From: Chris Rankin Date: Tue, 31 Jan 2017 11:42:58 +0000 Subject: [PATCH] Configure Node and DemoBench to use same version of H2 database. --- build.gradle | 1 + node/build.gradle | 2 +- tools/demobench/build.gradle | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 8eaf09b7ad..e771afb318 100644 --- a/build.gradle +++ b/build.gradle @@ -29,6 +29,7 @@ buildscript { ext.jopt_simple_version = '5.0.2' ext.jansi_version = '1.14' ext.hibernate_version = '5.2.6.Final' + ext.h2_version = '1.4.193' ext.dokka_version = '0.9.13' repositories { diff --git a/node/build.gradle b/node/build.gradle index b917a63935..05ecb5ef25 100644 --- a/node/build.gradle +++ b/node/build.gradle @@ -130,7 +130,7 @@ dependencies { testCompile "com.pholser:junit-quickcheck-core:$quickcheck_version" // For H2 database support in persistence - compile "com.h2database:h2:1.4.193" + compile "com.h2database:h2:$h2_version" // Exposed: Kotlin SQL library - under evaluation // TODO: Upgrade to Exposed 0.7 (has API changes) diff --git a/tools/demobench/build.gradle b/tools/demobench/build.gradle index 302d1b7cec..ba3deace9b 100644 --- a/tools/demobench/build.gradle +++ b/tools/demobench/build.gradle @@ -4,7 +4,6 @@ version "$corda_version" buildscript { ext.kotlin_version = '1.0.6' ext.tornadofx_version = '1.6.0' - ext.h2_version = '1.4.193' ext.jna_version = '4.1.0' ext.purejavacomm_version = '0.0.17' ext.guava_version = '14.0.1'