A library of common functions that can be used across credential issuers for validation, event transmission, describing common data etc.
Update the buildVersion
in /build.gradle
to reflect the latest major, minor or patch version of this library and then update the RELEASE_NOTES.
If this version is distinct, it should be deployed to Maven Central at uk.gov.account:cri-common-lib. Note that this is a manual process and needs be done using the pipeline-cri-libs-to-maven-central
pipeline in the di-tools-dev
account, see docs for more info.
In cri-common-lib:
- Update the
buildVersion
in/build.gradle
to avoid any potential caching issues. - Comment out
sign publishing.publications
in/build.gradle
- run
./gradlew publishToMavenLocal
In your cri repo:
- Update the
dependencyVersions
section forcri_common_lib
to the same version set above in/build.gradle
- Add
mavenLocal()
to therepositories
sections in/build.gradle
(In kbv for example there are 2 of these to update). Add it above the existingmaven
field.
You should now be able to build your cri stack and deploy to AWS with your local cri_common_lib changes.