Skip to content

Commit

Permalink
Merge pull request #42 from filip26/release/v0.1.2
Browse files Browse the repository at this point in the history
Prepare 0.1.2 release
  • Loading branch information
filip26 authored Nov 24, 2023
2 parents 85097f3 + 0923d51 commit 4e3b369
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/java8-build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Android (Java 8) CI
name: Java 8 CI

on:
pull_request:
Expand Down
25 changes: 14 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
An implementation of the [CBOR-LD 1.0 Draft](https://digitalbazaar.github.io/cbor-ld-spec/) in Java.

[![Java 17 CI](https://github.com/filip26/iridium-cbor-ld/actions/workflows/java17-build.yml/badge.svg)](https://github.com/filip26/iridium-cbor-ld/actions/workflows/java17-build.yml)
[![Android (Java 8) CI](https://github.com/filip26/iridium-cbor-ld/actions/workflows/java8-build.yml/badge.svg)](https://github.com/filip26/iridium-cbor-ld/actions/workflows/java8-build.yml)
[![Java 8 CI](https://github.com/filip26/iridium-cbor-ld/actions/workflows/java8-build.yml/badge.svg)](https://github.com/filip26/iridium-cbor-ld/actions/workflows/java8-build.yml)
[![Maven Central](https://img.shields.io/maven-central/v/com.apicatalog/iridium-cbor-ld.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:com.apicatalog%20AND%20a:iridium-cbor-ld)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

Expand All @@ -14,31 +14,29 @@ An implementation of the [CBOR-LD 1.0 Draft](https://digitalbazaar.github.io/cbo

### Maven

Java 17+

```xml
<!-- Java 17 -->
<dependency>
<groupId>com.apicatalog</groupId>
<artifactId>iridium-cbor-ld</artifactId>
<version>0.1.1</version>
<version>0.1.2</version>
</dependency>

```

or
### Gradle
Java 8+, Android API Level >=31

```xml
<!-- Android 12 or higher (API Level >=31) -->
<dependency>
<groupId>com.apicatalog</groupId>
<artifactId>iridium-cbor-ld-jre8</artifactId>
<version>0.1.1</version>
</dependency>
```gradle
implementation("com.apicatalog:iridium-cbor-ld-jre8:0.1.2")
```

#### JSON-P Provider

Add JSON-P provider, if it is not on the classpath already.

##### Maven

```xml
<dependency>
Expand All @@ -48,6 +46,11 @@ Add JSON-P provider, if it is not on the classpath already.
</dependency>
```

##### Gradle

```gradle
implementation("org.glassfish:jakarta.json:2.0.1")
```

## Usage

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.apicatalog</groupId>
<artifactId>iridium</artifactId>
<version>0.1.2-SNAPSHOT</version>
<version>0.1.2</version>
<relativePath>pom_parent.xml</relativePath>
</parent>
<artifactId>iridium-cbor-ld</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom_jre8.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.apicatalog</groupId>
<artifactId>iridium</artifactId>
<version>0.1.2-SNAPSHOT</version>
<version>0.1.2</version>
<relativePath>pom_parent.xml</relativePath>
</parent>
<artifactId>iridium-cbor-ld-jre8</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom_parent.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.apicatalog</groupId>
<artifactId>iridium</artifactId>
<version>0.1.2-SNAPSHOT</version>
<version>0.1.2</version>
<packaging>pom</packaging>

<name>Iridium CBOR-LD (JRE17)</name>
Expand Down

0 comments on commit 4e3b369

Please sign in to comment.