From 7205054bc954e1ff12979d0aafe036bbd38b6fcc Mon Sep 17 00:00:00 2001 From: Matthew Elwell Date: Mon, 9 Dec 2024 16:44:07 +0000 Subject: [PATCH] docs(android): remove jitpack from kotlin docs (#4904) --- docs/docs/clients/client-side/android.md | 3 --- docs/plugins/flagsmith-versions/index.js | 6 +++++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/docs/clients/client-side/android.md b/docs/docs/clients/client-side/android.md index c74cae6a56c1..3fa87a91f2a0 100644 --- a/docs/docs/clients/client-side/android.md +++ b/docs/docs/clients/client-side/android.md @@ -14,13 +14,10 @@ This SDK can be used for Android applications written in Kotlin. The source code ### Gradle -Make sure your `settings.gradle` includes JitPack as a repository: - ```groovy repositories { google() mavenCentral() - maven("https://jitpack.io") } ``` diff --git a/docs/plugins/flagsmith-versions/index.js b/docs/plugins/flagsmith-versions/index.js index 2c43dcb16d07..96f036a1b0f8 100644 --- a/docs/plugins/flagsmith-versions/index.js +++ b/docs/plugins/flagsmith-versions/index.js @@ -31,7 +31,11 @@ const fetchGitHubReleases = async (repo) => { return data.map((release) => (release.tag_name.startsWith('v') ? release.tag_name.slice(1) : release.tag_name)); }; -const fetchAndroidVersions = async () => fetchGitHubReleases('flagsmith/flagsmith-kotlin-android-client'); +const fetchAndroidVersions = async () => + fetchMavenVersions({ + groupId: 'com.flagsmith', + artifactId: 'flagsmith-kotlin-android-client', + }); const fetchSwiftPMVersions = async () => fetchGitHubReleases('Flagsmith/flagsmith-ios-client');