Skip to content

Commit 1f8da00

Browse files
committed
update docs
1 parent 78a313f commit 1f8da00

File tree

3 files changed

+26
-14
lines changed

3 files changed

+26
-14
lines changed

Diff for: README.md

+20-10
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,31 @@
11
# solana-kotlin
22

3-
### Step 1. Add the JitPack repository to your build file
3+
### Usage
4+
5+
Add it in your root build.gradle.kts at the end of repositories:
46

5-
Add it in your root build.gradle at the end of repositories:
67
```
7-
allprojects {
8-
repositories {
9-
...
10-
maven { url 'https://jitpack.io' }
11-
}
8+
repositories {
9+
mavenCentral()
10+
}
11+
12+
dependencies {
13+
implementation("net.avianlabs.solana:solana-kotlin:<version>")
1214
}
1315
```
1416

15-
### Step 2. Add the dependency
17+
### Snapshot releases
18+
19+
You can get snapshot releases from [GitHub Packages](https://github.com/orgs/avianlabs/packages?repo_name=solana-kotlin).
1620

1721
```
18-
dependencies {
19-
implementation 'net.avianlabs.solana-kotlin:solana-kotlin:<version>'
22+
repositories {
23+
maven {
24+
url = uri("https://maven.pkg.github.com/avianlabs/solana-kotlin")
25+
credentials {
26+
username = project.findProperty("gpr.user") as String? ?: System.getenv("USERNAME")
27+
password = project.findProperty("gpr.key") as String? ?: System.getenv("TOKEN")
28+
}
29+
}
2030
}
2131
```

Diff for: jitpack.yml

-3
This file was deleted.

Diff for: renovate.json5

+6-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,12 @@
3535
"org.jetbrains.kotlin",
3636
],
3737
"groupName": "Kotlin/Compose"
38-
}
38+
},
39+
{
40+
// First release used Kotlin version + project version which sorts higher than new versions.
41+
"matchPackageNames": ["co.touchlab:cklib-gradle-plugin"],
42+
"allowedVersions": "!/1\\.5\\.31\\.2/",
43+
},
3944
],
4045
"force": {
4146
"constraints": {

0 commit comments

Comments
 (0)