Skip to content

Commit

Permalink
Merge pull request #3952 from nextcloud/feature/217/offlineSupport
Browse files Browse the repository at this point in the history
Offline support
  • Loading branch information
mahibi authored Aug 12, 2024
2 parents b15c178 + 82b3eb3 commit 1e257fc
Show file tree
Hide file tree
Showing 127 changed files with 6,191 additions and 1,612 deletions.
1 change: 1 addition & 0 deletions .idea/inspectionProfiles/ktlint.xml

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

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

testOptions {
unitTests.all {
useJUnitPlatform()
}
}

buildTypes {
release {
minifyEnabled false
Expand Down Expand Up @@ -157,6 +163,7 @@ ext {
roomVersion = "2.6.1"
workVersion = "2.9.1"
espressoVersion = "3.6.1"
androidxTestVersion = "1.5.0"
media3_version = "1.4.0"
coroutines_version = "1.8.1"
mockitoKotlinVersion = "5.4.0"
Expand All @@ -170,10 +177,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 @@ -192,7 +203,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 @@ -289,6 +299,12 @@ 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"

//compose
implementation(platform("androidx.compose:compose-bom:2024.06.00"))
Expand All @@ -305,18 +321,24 @@ dependencies {

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 "androidx.test:core:1.5.0"

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 @@ -325,7 +347,7 @@ dependencies {
gplayImplementation 'com.google.android.gms:play-services-base:18.5.0'
gplayImplementation "com.google.firebase:firebase-messaging:24.0.0"

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

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

Expand Down
Loading

0 comments on commit 1e257fc

Please sign in to comment.