From 98a12b282558f9da424a08640087aabf0a12f2ab Mon Sep 17 00:00:00 2001 From: Tony Lawson Date: Thu, 15 Jun 2023 16:43:29 +0100 Subject: [PATCH] CORE-14330: Configure CPI upload timeout (#50) --- build.gradle | 1 + gradle.properties | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 28cd564..2c05a7d 100644 --- a/build.gradle +++ b/build.gradle @@ -32,6 +32,7 @@ allprojects { cordaDbContainerName = "CSDEpostgresql" cordaBinDir = "${System.getProperty("user.home")}/.corda/corda5" cordaCliBinDir = "${System.getProperty("user.home")}/.corda/cli" + cpiUploadTimeout = cpiUploadDefault } // Declare the set of Java compiler options we need to build a CorDapp. diff --git a/gradle.properties b/gradle.properties index bd0e14b..dc5b821 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,7 +15,7 @@ combinedWorkerJarVersion=5.0.0.0-Iguana1.0 cordaPluginsVersion=7.0.3 # Specify the version of the CSDE gradle plugin to use -csdePluginVersion=1.0.0-alpha-+ +csdePluginVersion=1.2.0-alpha-+ # Specify the name of the workflows module workflowsModule=workflows @@ -36,6 +36,10 @@ mockitoKotlinVersion=4.0.0 mockitoVersion=4.6.1 hamcrestVersion=2.2 +# Specify the maximum amount of time allowed for the CPI upload +# As your CorDapp grows you might need to increase this +# Value is in milliseconds +cpiUploadDefault=10000 # R3 internal repository # Use this version when pointing to artefacts in artifactory that have not been published to S3