Skip to content

Commit

Permalink
Merge pull request #34 from avianlabs/update_docs_and_remove_jitpack
Browse files Browse the repository at this point in the history
update docs
  • Loading branch information
wiyarmir authored Feb 27, 2024
2 parents 78a313f + 1f8da00 commit 12d8345
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 14 deletions.
30 changes: 20 additions & 10 deletions README.md
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")
}
}
}
```
3 changes: 0 additions & 3 deletions jitpack.yml

This file was deleted.

7 changes: 6 additions & 1 deletion renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,12 @@
"org.jetbrains.kotlin",
],
"groupName": "Kotlin/Compose"
}
},
{
// First release used Kotlin version + project version which sorts higher than new versions.
"matchPackageNames": ["co.touchlab:cklib-gradle-plugin"],
"allowedVersions": "!/1\\.5\\.31\\.2/",
},
],
"force": {
"constraints": {
Expand Down

0 comments on commit 12d8345

Please sign in to comment.