From a51f98b3ed6eec802b4067a0081ae313bdf68a84 Mon Sep 17 00:00:00 2001 From: Rajat Mittal <38572147+afreakyelf@users.noreply.github.com> Date: Sun, 31 Mar 2024 23:10:54 -0700 Subject: [PATCH] Update README.md --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3f316a8..f467668 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ A Simple PDF Viewer library which only occupies around 80kb while most of

-[![License](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/Apache-2.0) ![](https://img.shields.io/github/forks/afreakyelf/Pdf-Viewer?label=Forks) +[![Maven Central](https://img.shields.io/maven-central/v/io.github.afreakyelf/Pdf-Viewer.svg)](https://search.maven.org/artifact/io.github.afreakyelf/Pdf-Viewer) [![License](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/Apache-2.0) ![](https://img.shields.io/github/forks/afreakyelf/Pdf-Viewer?label=Forks) ![](https://img.shields.io/github/stars/afreakyelf/Pdf-Viewer?label=Stars&color=9cf) ![Visitors](https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Fgithub.com%2Fafreakyelf%2FPdf-Viewer&label=Visitors&countColor=%23263759&style=flat) [![CodeFactor](https://www.codefactor.io/repository/github/afreakyelf/pdf-viewer/badge)](https://www.codefactor.io/repository/github/afreakyelf/pdf-viewer) ![Discord](https://img.shields.io/discord/1213235452908408943?style=flat&label=Join%20discord&link=https%3A%2F%2Fdiscord.gg%2FK3u4DscdWW) @@ -50,16 +50,20 @@ Stay tuned as we continue to innovate and improve. Happy coding, and let's keep We have migrated our library to Maven Central for easier integration and better reliability. To use the Pdf Viewer library in your project, add the following dependency to your `build.gradle` file: +#### Latest version: ![](https://img.shields.io/maven-central/v/io.github.afreakyelf/Pdf-Viewer.svg) + ### Groovy DSL ```gradle dependencies { - implementation 'io.github.afreakyelf:Pdf-Viewer:v2.1.0' + // Replace 'latest-version' with the actual latest version number + implementation 'io.github.afreakyelf:Pdf-Viewer:latest-version' } ``` ### Kotlin DSL ```gradle dependencies { - implementation("io.github.afreakyelf:Pdf-Viewer:v2.1.0") + // Replace 'latest-version' with the actual latest version number + implementation("io.github.afreakyelf:Pdf-Viewer:latest-version") } ```