Takes care of the transformation logic to convert from a story package as returned by CAPI into something that can easily be rendered in frontend/MAPI.
Add a resolver to the Bintray Maven repo:
resolvers += "Story packages" at "http://dl.bintray.com/guardian/story-packages"
and add a dependency:
libraryDependencies += "com.gu" %% "story-packages-presentation" % "<version>"
See the Bintray badge above for the latest published version.
-
Make sure you have a Bintray account, it's been added to the Guardian org, and it has permission to publish artifacts to the
story-packages
Maven repo. -
Run
sbt bintrayChangeCredentials
and fill in your username and API key. They will be stored in a file in your~/.sbt
folder. -
Run
sbt release
. This will bump the version number, publish to Bintray and push the changes to GitHub.