diff --git a/.github/workflows/code-checks.yml b/.github/workflows/code-checks.yml
new file mode 100644
index 0000000..6c8e1e1
--- /dev/null
+++ b/.github/workflows/code-checks.yml
@@ -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
diff --git a/README.md b/README.md
index 21b0fe7..b4c2824 100644
--- a/README.md
+++ b/README.md
@@ -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.
@@ -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)
@@ -45,7 +48,7 @@ Novu's API exposes the entire Novu features via a standardized programmatic inte
co.novu
novu-java
- 1.3.0
+ 1.4.0
```
@@ -53,7 +56,7 @@ Novu's API exposes the entire Novu features via a standardized programmatic inte
```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.
diff --git a/pom.xml b/pom.xml
index f57375a..d23b095 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2,7 +2,12 @@
4.0.0
-
+
+ org.springframework.boot
+ spring-boot-starter-parent
+ 2.7.7
+
+
co.novu
novu-java
1.3.0
@@ -124,41 +129,27 @@
- 11
- 11
- UTF-8
+ 11
- com.squareup.retrofit2
- retrofit
- 2.9.0
-
-
- com.squareup.retrofit2
- converter-gson
- 2.9.0
-
-
- com.squareup.okhttp3
- logging-interceptor
- 4.10.0
+ org.springframework.boot
+ spring-boot-starter-web
+
org.projectlombok
lombok
true
- 1.18.26
- org.slf4j
- slf4j-api
- 2.0.5
+ org.springframework.boot
+ spring-boot-starter-test
+ test
junit
junit
- 4.13.2
test
@@ -167,22 +158,5 @@
1.10.19
test
-
- com.squareup.okhttp3
- mockwebserver
- 4.10.0
- test
-
-
- com.squareup.okhttp3
- okhttp
-
-
-
-
- com.squareup.okhttp3
- okhttp
- 4.10.0
-