File tree 3 files changed +26
-14
lines changed
3 files changed +26
-14
lines changed Original file line number Diff line number Diff line change 1
1
# solana-kotlin
2
2
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:
4
6
5
- Add it in your root build.gradle at the end of repositories:
6
7
```
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>")
12
14
}
13
15
```
14
16
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 ) .
16
20
17
21
```
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
+ }
20
30
}
21
31
```
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 35
35
"org.jetbrains.kotlin" ,
36
36
] ,
37
37
"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
+ } ,
39
44
] ,
40
45
"force" : {
41
46
"constraints" : {
You can’t perform that action at this time.
0 commit comments