-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from avianlabs/update_docs_and_remove_jitpack
update docs
- Loading branch information
Showing
3 changed files
with
26 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,31 @@ | ||
# solana-kotlin | ||
|
||
### Step 1. Add the JitPack repository to your build file | ||
### Usage | ||
|
||
Add it in your root build.gradle.kts at the end of repositories: | ||
|
||
Add it in your root build.gradle at the end of repositories: | ||
``` | ||
allprojects { | ||
repositories { | ||
... | ||
maven { url 'https://jitpack.io' } | ||
} | ||
repositories { | ||
mavenCentral() | ||
} | ||
dependencies { | ||
implementation("net.avianlabs.solana:solana-kotlin:<version>") | ||
} | ||
``` | ||
|
||
### Step 2. Add the dependency | ||
### Snapshot releases | ||
|
||
You can get snapshot releases from [GitHub Packages](https://github.com/orgs/avianlabs/packages?repo_name=solana-kotlin). | ||
|
||
``` | ||
dependencies { | ||
implementation 'net.avianlabs.solana-kotlin:solana-kotlin:<version>' | ||
repositories { | ||
maven { | ||
url = uri("https://maven.pkg.github.com/avianlabs/solana-kotlin") | ||
credentials { | ||
username = project.findProperty("gpr.user") as String? ?: System.getenv("USERNAME") | ||
password = project.findProperty("gpr.key") as String? ?: System.getenv("TOKEN") | ||
} | ||
} | ||
} | ||
``` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters