story-packages-model

Story package model

License

License

GroupId

GroupId

com.gu
ArtifactId

ArtifactId

story-packages-model_2.11
Last Version

Last Version

2.0.4
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.11

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.11.12
org.apache.thrift : libthrift jar 0.12.0
com.twitter : scrooge-core_2.11 jar 20.4.1

test (1)

Group / Artifact Type Version
org.scalacheck : scalacheck_2.11 jar 1.14.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
2.0.4
2.0.3
2.0.2
2.0.1
1.0.7
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.4.0
0.3.2
0.3.1
0.3.0
0.2.0
0.0.2
0.0.1