Release 0.73.0
The sic Gradle plugin no longer creates a CorDapp
Relevant for projects that use sic generated CorDapps.
The sic Gradle plugin no longer creates a CorDapp, instead it builds a plain jar file that contains:
The class files from the generated code.
Files with the serialized representations of the ontology, signature, and abstract syntax tree, zipped to be used in the CorDapp.
Steps to migrate
Instead of deploying the
flowsandstatesjar files as a CorDapp, instead deploycom.deondigital:csl-cordappandcom.deondigital:csl-contracts-states.Upload the required files as an attachment to the contract manager by using the
sicgeneratedattachmentvalue (located inCordaContractOperations):
val attachmentId: SecureHash = attachment.uploadIfNotExists(cordaRPCOps)
Update the
csl { }block in yourbuild.gradlefile to match the new signature. See Gradle plugin.
The URL to Deon Digital’s public Maven repository has changed
Relevant for all projects.
All JAR artifacts are now hosted at https://repository.deon.digital.
Steps to migrate
Change the URL used in
build.gradlefor Deon Digital’s Maven repository tohttps://repository.deon.digital/artifactory/releases:
maven {
url "https://repository.deon.digital/artifactory/releases"
username DEON_REPOSITORY_USER // Set in 'gradle.properties'
password DEON_REPOSITORY_PASSWORD // Set in 'gradle.properties'
}
If necessary, acquire login credentials to the new repository. Credentials from the old repository solution should work on the new one, though.