Skip to content

Commit e345aa9

Browse files
committed
chore: use bitkit-core from github packages
1 parent fb17ba5 commit e345aa9

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ dependencies {
197197
// Crypto
198198
implementation(libs.bouncycastle.provider.jdk)
199199
implementation(libs.ldk.node.android) { exclude(group = "net.java.dev.jna", module = "jna") }
200-
implementation(libs.bitkitcore) { exclude(group = "net.java.dev.jna", module = "jna") }
200+
implementation(libs.bitkitcore)
201201
// Firebase
202202
implementation(platform(libs.firebase.bom))
203203
implementation(libs.firebase.messaging)

gradle/libs.versions.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ activity-compose = { module = "androidx.activity:activity-compose", version.ref
4646
appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" }
4747
barcode-scanning = { module = "com.google.mlkit:barcode-scanning", version.ref = "barcodeScanning" }
4848
biometric = { module = "androidx.biometric:biometric", version.ref = "biometric" }
49-
#bitkitcore = { module = "com.synonym:bitkit-core-android", version = "0.1.9" } # mavenLocal
50-
bitkitcore = { module = "com.github.synonymdev:bitkit-core", version = "v0.1.9" } # jitpack
49+
bitkitcore = { module = "com.synonym:bitkit-core-android", version = "0.1.10" }
5150
bouncycastle-provider-jdk = { module = "org.bouncycastle:bcprov-jdk18on", version.ref = "bouncyCastle" }
5251
camera-camera2 = { module = "androidx.camera:camera-camera2", version.ref = "camera" }
5352
camera-lifecycle = { module = "androidx.camera:camera-lifecycle", version.ref = "camera" }

settings.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ dependencyResolutionManagement {
1313
google()
1414
mavenCentral()
1515
maven("https://jitpack.io")
16+
maven {
17+
url = uri("https://maven.pkg.github.com/synonymdev/bitkit-core")
18+
credentials {
19+
username = System.getenv("GITHUB_ACTOR") ?: providers.gradleProperty("gpr.user").orNull
20+
password = System.getenv("GITHUB_TOKEN") ?: providers.gradleProperty("gpr.key").orNull
21+
}
22+
}
1623
}
1724
}
1825
rootProject.name = "bitkit-android"

0 commit comments

Comments
 (0)