story-packages-model

Story package model

License

License

GroupId

GroupId

com.gu
ArtifactId

ArtifactId

story-packages-model_2.10
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

story-packages-model
Story package model
Project URL

Project URL

https://github.com/guardian/story-packages-model
Project Organization

Project Organization

com.gu
Source Code Management

Source Code Management

https://github.com/guardian/story-packages-model

Download story-packages-model_2.10

How to add to project

<!-- https://jarcasting.com/artifacts/com.gu/story-packages-model_2.10/ -->
<dependency>
    <groupId>com.gu</groupId>
    <artifactId>story-packages-model_2.10</artifactId>
    <version>1.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.gu/story-packages-model_2.10/
implementation 'com.gu:story-packages-model_2.10:1.0.2'
// https://jarcasting.com/artifacts/com.gu/story-packages-model_2.10/
implementation ("com.gu:story-packages-model_2.10:1.0.2")
'com.gu:story-packages-model_2.10:jar:1.0.2'
<dependency org="com.gu" name="story-packages-model_2.10" rev="1.0.2">
  <artifact name="story-packages-model_2.10" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.gu', module='story-packages-model_2.10', version='1.0.2')
)
libraryDependencies += "com.gu" % "story-packages-model_2.10" % "1.0.2"
[com.gu/story-packages-model_2.10 "1.0.2"]

Dependencies

compile (3)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.10.6
org.apache.thrift : libthrift jar 0.9.3
com.twitter : scrooge-core_2.10 jar 4.5.0

Project Modules

There are no modules declared in this project.

story-packages-model

This repository contains the Thrift schema required for displaying story packages.

Downloading

To download you should be able to simply add a dependency similar to the following (with your desired version):

"com.gu" %% "story-packages-model" % "x.y.z"

How to release

Ensure you have the following installed on your machine:

  • tsc (brew install typescript)
  • npm (not sure! there are so many ways to install it)

Ensure you have an NPM account, part of the @guardian org with a configured token

You'll also need a sonatype account to publish the library to Maven.

release // will release the scala / thrift projects
project typescriptClasses
releaseNpm 1.0.0 // you have to specify the version again
com.gu

The Guardian

The source code of the world's leading liberal voice

Versions

Version
1.0.2
1.0.1
1.0.0
0.4.0
0.3.2
0.3.1