Skip to content

Commit

Permalink
Merge branch 'main' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
mayorJAY authored Dec 5, 2023
2 parents 1eac4f8 + 1056383 commit 2800204
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 4 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/code-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Run Checks on Codebase

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'

- name: Compile project and Run Unit tests
run: mvn clean package
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
# Novu Java SDK

[![License](https://poser.pugx.org/unicodeveloper/novu/license.svg)](LICENSE.md)
[![GitHub release (with filter)](https://img.shields.io/github/v/release/novuhq/novu-java?label=SDK&link=https%3A%2F%2Fgithub.com%2Fnovuhq%2Fnovu-java%2Freleases%2Flatest)](https://github.com/novuhq/novu-java/releases/latest)



Novu's API exposes the entire Novu features via a standardized programmatic interface. Please refer to the full [documentation](https://docs.novu.co/docs/overview/introduction) to learn more.

Expand All @@ -18,7 +21,7 @@ Novu's API exposes the entire Novu features via a standardized programmatic inte

* [Installation](#installation)
* [Usage](#usage)
* [Novu API Reference](https://docs.novu.co/api/overview/)
* [Novu API Reference](https://docs.novu.co/api-reference/events/trigger-event)
* [Events](#events)
* [Subscribers](#subscribers)
* [Topics](#topics)
Expand All @@ -45,15 +48,15 @@ Novu's API exposes the entire Novu features via a standardized programmatic inte
<dependency>
<groupId>co.novu</groupId>
<artifactId>novu-java</artifactId>
<version>1.3.0</version>
<version>1.4.0</version>
</dependency>
```

**Gradle users:**
```gradle
// add dependency
dependencies {
implementation 'co.novu:novu-java:1.3.0'
implementation 'co.novu:novu-java:1.4.0'
}
```
Sync your project, and you should have the artifacts downloaded.
Expand Down
14 changes: 13 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>co.novu</groupId>
<artifactId>novu-java</artifactId>
<version>1.3.0</version>
<version>1.4.0</version>
<packaging>jar</packaging>
<name>${project.groupId}:${project.artifactId}</name>
<description>Java SDK for Novu - The open-source notification infrastructure for developers</description>
Expand Down Expand Up @@ -123,6 +123,18 @@
</profile>
</profiles>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0</version>
</plugin>
</plugins>
</pluginManagement>
</build>

<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
Expand Down

0 comments on commit 2800204

Please sign in to comment.