Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/organization' into organization
Browse files Browse the repository at this point in the history
# Conflicts:
#	pom.xml
  • Loading branch information
Basfar committed Nov 23, 2023
2 parents 39a0226 + 1056383 commit c566d69
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 42 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
52 changes: 13 additions & 39 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.7</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>co.novu</groupId>
<artifactId>novu-java</artifactId>
<version>1.3.0</version>
Expand Down Expand Up @@ -124,41 +129,27 @@
</profiles>

<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>11</java.version>
</properties>
<dependencies>
<dependency>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>retrofit</artifactId>
<version>2.9.0</version>
</dependency>
<dependency>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>converter-gson</artifactId>
<version>2.9.0</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>logging-interceptor</artifactId>
<version>4.10.0</version>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>

<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
<version>1.18.26</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>2.0.5</version>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -167,22 +158,5 @@
<version>1.10.19</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>mockwebserver</artifactId>
<version>4.10.0</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>4.10.0</version>
</dependency>
</dependencies>
</project>

0 comments on commit c566d69

Please sign in to comment.