Skip to content

Commit

Permalink
Offline support for conversations and chats
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
  • Loading branch information
mahibi committed Jul 17, 2024
1 parent 285d4b8 commit 50f1b50
Show file tree
Hide file tree
Showing 117 changed files with 4,181 additions and 1,130 deletions.
3 changes: 2 additions & 1 deletion .idea/inspectionProfiles/ktlint.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 26 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@ android {
buildConfigField "String", "PERMISSION_LOCAL_BROADCAST", "\"${localBroadcastPermission}\""
}

testOptions {
unitTests.all {
useJUnitPlatform()
}
}

buildTypes {
release {
minifyEnabled false
Expand Down Expand Up @@ -148,6 +154,7 @@ ext {
workVersion = "2.9.0"
espressoVersion = "3.6.1"
media3_version = "1.3.1"
androidxTestVersion = "1.5.0"
}

configurations.configureEach {
Expand All @@ -158,10 +165,14 @@ configurations.configureEach {
}

dependencies {
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.13.0'
spotbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.6.4'

implementation("androidx.compose.runtime:runtime:1.6.8")
implementation 'androidx.preference:preference-ktx:1.2.1'
implementation 'androidx.datastore:datastore-core:1.1.1'
implementation 'androidx.datastore:datastore-preferences:1.1.1'
implementation 'androidx.test.ext:junit-ktx:1.1.5'
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:1.23.6")

implementation fileTree(include: ['*'], dir: 'libs')
Expand All @@ -180,7 +191,6 @@ dependencies {
implementation "androidx.work:work-runtime:${workVersion}"
implementation "androidx.work:work-rxjava2:${workVersion}"
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
androidTestImplementation "androidx.work:work-testing:${workVersion}"
implementation 'com.google.android.flexbox:flexbox:3.0.0'
implementation ('com.github.bitfireAT:dav4jvm:2.1.3', {
exclude group: 'org.ogce', module: 'xpp3' // Android comes with its own XmlPullParser
Expand Down Expand Up @@ -279,21 +289,33 @@ dependencies {
})

implementation 'androidx.core:core-ktx:1.13.1'
implementation 'androidx.activity:activity-ktx:1.9.0'
implementation 'com.github.nextcloud.android-common:ui:0.21.0'
implementation 'com.github.nextcloud-deps:android-talk-webrtc:121.6167.0'

gplayImplementation 'com.google.android.gms:play-services-base:18.4.0'
gplayImplementation "com.google.firebase:firebase-messaging:23.4.1"

testImplementation 'junit:junit:4.13.2'
testImplementation 'org.mockito:mockito-core:5.12.0'
androidTestImplementation 'org.mockito:mockito-android:5.12.0'
testImplementation 'androidx.arch.core:core-testing:2.2.0'

androidTestImplementation "androidx.test:core:1.6.1"

androidTestImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.8.1"
androidTestImplementation 'androidx.test:core-ktx:1.6.1'
androidTestImplementation 'org.mockito:mockito-android:5.12.0'
androidTestImplementation "androidx.work:work-testing:${workVersion}"
// Espresso core
androidTestImplementation ("androidx.test.espresso:espresso-core:$espressoVersion", {
exclude group: 'com.android.support', module: 'support-annotations'
})
androidTestImplementation "androidx.test.espresso:espresso-contrib:$espressoVersion"
androidTestImplementation "androidx.test.espresso:espresso-web:$espressoVersion"
androidTestImplementation "androidx.test.espresso:espresso-accessibility:$espressoVersion"

androidTestImplementation "androidx.test.espresso:espresso-intents:$espressoVersion"

androidTestImplementation('com.android.support.test.espresso:espresso-intents:3.0.2')

spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.13.0'
Expand All @@ -302,11 +324,12 @@ dependencies {
gplayImplementation 'com.google.android.gms:play-services-base:18.4.0'
gplayImplementation "com.google.firebase:firebase-messaging:23.4.1"

implementation 'androidx.activity:activity-ktx:1.9.0'
implementation 'androidx.activity:activity-ktx:1.9.0'

implementation 'com.github.nextcloud.android-common:ui:0.22.0'

implementation 'com.github.nextcloud-deps:android-talk-webrtc:121.6167.0'

}

tasks.register('installGitHooks', Copy) {
Expand Down
Loading

0 comments on commit 50f1b50

Please sign in to comment.