From ad1a0d44fb1fc5eb7234c5fdc6a78c3bcc147a2c Mon Sep 17 00:00:00 2001 From: Orkuncakilkaya Date: Wed, 22 Feb 2023 22:36:59 +0300 Subject: [PATCH 1/3] docs(readme): add jitpack badge --- README.md | 3 +++ template/README.mustache | 3 +++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 4d4d0fc..e5bdf40 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,9 @@

+ + Jitpack Release + CI badge diff --git a/template/README.mustache b/template/README.mustache index 9f423a4..a96abde 100644 --- a/template/README.mustache +++ b/template/README.mustache @@ -8,6 +8,9 @@

+ + Jitpack Release + CI badge From a7b25d66c7cf567db332fa5a1a4f82e748d98016 Mon Sep 17 00:00:00 2001 From: Orkuncakilkaya Date: Wed, 22 Feb 2023 22:58:16 +0300 Subject: [PATCH 2/3] docs(readme): update jitpack instructions --- README.md | 20 ++++++++++++++------ template/README.mustache | 20 ++++++++++++++------ 2 files changed, 28 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index e5bdf40..d9ac7a2 100644 --- a/README.md +++ b/README.md @@ -47,11 +47,20 @@ Building the API client library requires: Add this dependency to your project's POM: +```xml + + + jitpack.io + https://jitpack.io + + +``` + ```xml - com.fingerprint - fingerprint-pro-server-api-sdk - 1.0.0 + com.github.fingerprintjs + fingerprint-pro-server-api-java-sdk + v1.0.0 compile ``` @@ -62,12 +71,11 @@ Add this dependency to your project's build file: ```groovy repositories { - mavenCentral() // Needed if the 'fingerprint-pro-server-api-sdk' jar has been published to maven central. - mavenLocal() // Needed if the 'fingerprint-pro-server-api-sdk' jar has been published to the local maven repo. + maven { url 'https://jitpack.io' } } dependencies { - implementation "com.fingerprint:fingerprint-pro-server-api-sdk:1.0.0" + implementation "com.github.fingerprintjs:fingerprint-pro-server-api-java-sdk:v1.0.0" } ``` diff --git a/template/README.mustache b/template/README.mustache index a96abde..6a6cb69 100644 --- a/template/README.mustache +++ b/template/README.mustache @@ -52,11 +52,20 @@ Building the API client library requires: Add this dependency to your project's POM: +```xml + + + jitpack.io + https://jitpack.io + + +``` + ```xml - {{{groupId}}} - {{{artifactId}}} - {{{artifactVersion}}} + com.github.fingerprintjs + fingerprint-pro-server-api-java-sdk + v{{{artifactVersion}}} compile ``` @@ -67,12 +76,11 @@ Add this dependency to your project's build file: ```groovy repositories { - mavenCentral() // Needed if the '{{{artifactId}}}' jar has been published to maven central. - mavenLocal() // Needed if the '{{{artifactId}}}' jar has been published to the local maven repo. + maven { url 'https://jitpack.io' } } dependencies { - implementation "{{{groupId}}}:{{{artifactId}}}:{{{artifactVersion}}}" + implementation "com.github.fingerprintjs:fingerprint-pro-server-api-java-sdk:v{{{artifactVersion}}}" } ``` From e3e4d5e5c7cd17544bad9f1b483daf3b11d3bebb Mon Sep 17 00:00:00 2001 From: Orkuncakilkaya Date: Fri, 24 Feb 2023 11:15:03 +0300 Subject: [PATCH 3/3] docs(readme): remove scope from maven dependency --- README.md | 1 - template/README.mustache | 1 - 2 files changed, 2 deletions(-) diff --git a/README.md b/README.md index d9ac7a2..309bd49 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,6 @@ Add this dependency to your project's POM: com.github.fingerprintjs fingerprint-pro-server-api-java-sdk v1.0.0 - compile ``` diff --git a/template/README.mustache b/template/README.mustache index 6a6cb69..9af0669 100644 --- a/template/README.mustache +++ b/template/README.mustache @@ -66,7 +66,6 @@ Add this dependency to your project's POM: com.github.fingerprintjs fingerprint-pro-server-api-java-sdk v{{{artifactVersion}}} - compile ```