Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,14 @@ dependencies {
implementation(libs.gson)
implementation(libs.okhttp)
implementation(libs.okhttp.logging)
implementation(libs.guardianproject.sardine)
// adding web dav support: https://github.com/thegrizzlylabs/sardine-android'
//implementation(libs.guardianproject.sardine)
//implementation(libs.thegrizzlylabs.sardine)
implementation("com.github.elelan:sardine-android:0.1.0-alpha03")
Copy link

Copilot AI Aug 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The sardine dependency is hardcoded instead of using the version catalog approach used elsewhere in the project. Consider defining this in libs.versions.toml for consistency.

Suggested change
implementation("com.github.elelan:sardine-android:0.1.0-alpha03")
implementation(libs.sardine.android)

Copilot uses AI. Check for mistakes.



Copy link

Copilot AI Aug 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using an alpha version (0.1.0-alpha03) in production code introduces stability risks. Consider using a stable release version or documenting the rationale for using an alpha version.

Suggested change
// NOTE: Only alpha versions of sardine-android are available as of June 2024.
// We use 0.1.0-alpha03 for WebDAV support, as no stable release exists.
// Risks: Potential instability. Mitigation: Pin version, monitor upstream, and test thoroughly.
implementation("com.github.elelan:sardine-android:0.1.0-alpha03")

Copilot uses AI. Check for mistakes.
// Utility Libraries
// Utility Libraries
implementation(libs.timber)
//implementation(libs.orhanobut.logger)
//implementation(libs.abdularis.circularimageview)
Expand Down Expand Up @@ -281,8 +286,7 @@ dependencies {

implementation(libs.satyan.sugar)

// adding web dav support: https://github.com/thegrizzlylabs/sardine-android'
implementation("com.github.guardianproject:sardine-android:89f7eae512")


implementation("com.github.derlio:audio-waveform:v1.0.1")

Expand Down
24 changes: 13 additions & 11 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,38 +1,39 @@
[versions]
activity = "1.10.1"
agp = "8.12.0"
agp = "8.12.1"
appcompat = "1.7.1"
biometric = "1.1.0"
coil = "3.3.0"
compose = "1.9.0-beta03"
compose = "1.9.0"
compose-material-icons = "1.7.8"
compose-preference = "1.1.1"
constraintlayout = "2.2.1"
constraintlayout-compos = "1.1.1"
coordinatorlayout = "1.3.0"
core = "1.16.0"
core = "1.17.0"
core-splashscreen = "1.0.1"
coroutines = "1.10.2"
detekt = "1.23.8"
detekt-compose = "0.4.26"
detekt-compose = "0.4.27"
detekt-rules-compose = "1.4.0"
espresso-core = "3.5.1"
fragment = "1.8.8"
fragment = "1.8.9"
google-api-client-android = "1.26.0"
google-http-client-gson = "1.42.3"
gson = "2.13.1"
junit = "4.13.2"
junit-android = "1.3.0"
androidx-test-runner = "1.6.2"
androidx-test-runner = "1.7.0"
koin = "4.1.0"
kotlin = "2.2.0"
ksp = "2.2.0-2.0.2"
kotlin = "2.2.10"
ksp = "2.2.10-2.0.2"
lifecycle = "2.9.2"
material = "1.12.0"
material3 = "1.4.0-beta01"
mixpanel = "8.2.0"
material3 = "1.4.0-beta02"
mixpanel = "8.2.1"
navigation = "2.9.3"
okhttp = "4.12.0"
okhttp = "5.1.0"
thegrizzlylabs-sardine = "0.9"
Copy link

Copilot AI Aug 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The thegrizzlylabs-sardine version is defined but not used in the actual implementation. Consider removing this unused version definition to avoid confusion.

Suggested change
thegrizzlylabs-sardine = "0.9"

Copilot uses AI. Check for mistakes.
preference = "1.2.1"
recyclerview = "1.4.0"
recyclerview-selection = "1.2.0"
Expand Down Expand Up @@ -134,6 +135,7 @@ okhttp-logging = { group = "com.squareup.okhttp3", name = "logging-interceptor",
retrofit = { group = "com.squareup.retrofit2", name = "retrofit", version.ref = "retrofit" }
retrofit-gson = { group = "com.squareup.retrofit2", name = "converter-gson", version.ref = "retrofit" }
guardianproject-sardine = { group = "com.github.guardianproject", name = "sardine-android", version = "89f7eae512" }
thegrizzlylabs-sardine = { group = "com.github.thegrizzlylabs", name = "sardine-android", version.ref = "thegrizzlylabs-sardine" }
Copy link

Copilot AI Aug 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The thegrizzlylabs-sardine library definition is added but not used in the actual implementation. Consider removing this unused library definition to avoid confusion.

Suggested change
thegrizzlylabs-sardine = { group = "com.github.thegrizzlylabs", name = "sardine-android", version.ref = "thegrizzlylabs-sardine" }

Copilot uses AI. Check for mistakes.

# Images
coil = { group = "io.coil-kt.coil3", name = "coil", version.ref = "coil" }
Expand Down
2 changes: 2 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ dependencyResolutionManagement {
includeModule("com.github.derlio", "audio-waveform")
includeModule("com.github.abdularis", "circularimageview")
includeModule("com.github.guardianproject", "sardine-android")
includeModule("com.github.thegrizzlylabs", "sardine-android")
Copy link

Copilot AI Aug 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The thegrizzlylabs sardine-android module is included but not used in the actual implementation. Consider removing this unused module inclusion to avoid confusion.

Suggested change
includeModule("com.github.thegrizzlylabs", "sardine-android")

Copilot uses AI. Check for mistakes.
includeModule("com.github.elelan", "sardine-android")
}
}
}
Expand Down