mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 18:15:22 +00:00
c113a447cf
* refactor: Migrate home screen to data binding * Add view binding * Migrate ConversationView to view binding * Migrate ConversationActivityV2 to view binding * View model refactor * Move more functionality to the view model * Add ui state events flow * Update conversation item bindings * Update profile picture view bindings * Replace Kotlin synthetics with view bindings * Fix qr code fragment binding and optimize imports * View binding refactors * Make TextSecurePreferences an interface and add an implementation to improve testability * Add conversation repository * Migrate remaining TextSecurePreferences functions into the interface * Add unit conversation unit tests * Add unit test coverage for remaining view model functions
49 lines
2.1 KiB
Groovy
49 lines
2.1 KiB
Groovy
plugins {
|
|
id 'com.android.library'
|
|
id 'kotlin-android'
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion androidCompileSdkVersion
|
|
|
|
defaultConfig {
|
|
minSdkVersion androidMinimumSdkVersion
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(":libsignal")
|
|
implementation 'com.goterl:lazysodium-android:5.0.2@aar'
|
|
implementation "net.java.dev.jna:jna:5.8.0@aar"
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
|
|
implementation 'androidx.core:core-ktx:1.3.2'
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
implementation 'androidx.preference:preference-ktx:1.1.1'
|
|
implementation 'com.google.android.material:material:1.2.1'
|
|
implementation "com.google.protobuf:protobuf-java:$protobufVersion"
|
|
implementation "com.google.dagger:hilt-android:$daggerVersion"
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
|
implementation "com.github.bumptech.glide:glide:$glideVersion"
|
|
implementation 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
|
|
implementation 'com.annimon:stream:1.1.8'
|
|
implementation 'com.makeramen:roundedimageview:2.1.0'
|
|
implementation 'com.esotericsoftware:kryo:5.1.1'
|
|
implementation "com.google.protobuf:protobuf-java:$protobufVersion"
|
|
implementation "com.fasterxml.jackson.core:jackson-databind:$jacksonDatabindVersion"
|
|
implementation "org.whispersystems:curve25519-java:$curve25519Version"
|
|
implementation "com.squareup.okhttp3:okhttp:$okhttpVersion"
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
|
|
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion"
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutinesVersion"
|
|
implementation "nl.komponents.kovenant:kovenant:$kovenantVersion"
|
|
testImplementation "junit:junit:3.8.2"
|
|
testImplementation "org.assertj:assertj-core:1.7.1"
|
|
testImplementation "org.conscrypt:conscrypt-openjdk-uber:2.0.0"
|
|
implementation 'org.greenrobot:eventbus:3.0.0'
|
|
} |