Skip to content

Commit

Permalink
docs(android): remove jitpack from kotlin docs (#4904)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewelwell authored Dec 9, 2024
1 parent de9ea30 commit 7205054
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 0 additions & 3 deletions docs/docs/clients/client-side/android.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
```

Expand Down
6 changes: 5 additions & 1 deletion docs/plugins/flagsmith-versions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit 7205054

Please sign in to comment.