Move project to version catalogs
This commit is contained in:
+14
-12
@@ -1,6 +1,6 @@
|
||||
plugins {
|
||||
id 'com.android.library'
|
||||
id 'org.jetbrains.kotlin.android'
|
||||
alias(libs.plugins.androidLibrary)
|
||||
alias(libs.plugins.jetbrainsKotlinAndroid)
|
||||
}
|
||||
|
||||
android {
|
||||
@@ -38,32 +38,34 @@ android {
|
||||
excludes += ['**/libscrypt.dylib']
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "androidx.core:core-ktx:$core_ktx_version"
|
||||
implementation libs.androidx.core.ktx
|
||||
|
||||
implementation platform(libs.androidx.compose.bom)
|
||||
|
||||
// @Immutable and @Stable
|
||||
implementation "androidx.compose.runtime:runtime:$compose_ui_version"
|
||||
implementation libs.androidx.runtime.runtime
|
||||
|
||||
// Bitcoin secp256k1 bindings to Android
|
||||
api 'fr.acinq.secp256k1:secp256k1-kmp-jni-android:0.14.0'
|
||||
api libs.secp256k1.kmp.jni.android
|
||||
|
||||
// LibSodium for ChaCha encryption (NIP-44)
|
||||
// Wait for @aar support in version catalogs
|
||||
implementation "com.goterl:lazysodium-android:5.1.0@aar"
|
||||
implementation 'net.java.dev.jna:jna:5.14.0@aar'
|
||||
|
||||
// Performant Parser of JSONs into Events
|
||||
api 'com.fasterxml.jackson.module:jackson-module-kotlin:2.16.1'
|
||||
api libs.jackson.module.kotlin
|
||||
|
||||
// immutable collections to avoid recomposition
|
||||
api('org.jetbrains.kotlinx:kotlinx-collections-immutable:0.3.7')
|
||||
api libs.kotlinx.collections.immutable
|
||||
|
||||
// Parses URLs from Text:
|
||||
api "io.github.url-detector:url-detector:0.1.23"
|
||||
api libs.url.detector
|
||||
|
||||
testImplementation 'junit:junit:4.13.2'
|
||||
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
||||
testImplementation libs.junit
|
||||
androidTestImplementation libs.androidx.junit
|
||||
androidTestImplementation libs.androidx.espresso.core
|
||||
}
|
||||
Reference in New Issue
Block a user