diff --git a/constants.properties b/constants.properties index b7ed08ca31..6076478c2c 100644 --- a/constants.properties +++ b/constants.properties @@ -1,4 +1,4 @@ -gradlePluginsVersion=4.0.38 +gradlePluginsVersion=4.0.39 kotlinVersion=1.2.71 # ***************************************************************# # When incrementing platformVersion make sure to update # diff --git a/testing/node-driver/build.gradle b/testing/node-driver/build.gradle index 102249761e..01de45b827 100644 --- a/testing/node-driver/build.gradle +++ b/testing/node-driver/build.gradle @@ -55,3 +55,15 @@ jar { publish { name jar.baseName } + +scanApi { + //Constructors that are synthesized by Kotlin unexpectedly + excludeMethods = [ + "net.corda.testing.node.MockServices": [ + "(Lnet/corda/node/cordapp/CordappLoader;Lnet/corda/core/node/services/IdentityService;Lnet/corda/core/node/NetworkParameters;Lnet/corda/testing/core/TestIdentity;[Ljava/security/KeyPair;Lkotlin/jvm/internal/DefaultConstructorMarker;)V" + ], + "net.corda.testing.node.InMemoryMessagingNetwork\$MessageTransfer": [ + "(Lnet/corda/testing/node/InMemoryMessagingNetwork\$PeerHandle;Lnet/corda/node/services/messaging/Message;Lnet/corda/core/messaging/MessageRecipients;Lkotlin/jvm/internal/DefaultConstructorMarker;)V" + ] + ] +} \ No newline at end of file