Skip to content

Commit

Permalink
Forced dependency versions and excluded dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me>
  • Loading branch information
ArnyminerZ authored and sunkup committed Aug 8, 2024
1 parent 8d09c89 commit 25be147
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,18 @@ dependencies {
coreLibraryDesugaring(libs.android.desugaring)

implementation(libs.androidx.core)
api(libs.ical4j)
api(libs.ical4j) {
// Get rid of unnecessary transitive dependencies
exclude(group = "commons-validator", module = "commons-validator")
exclude(group = "org.slf4j", module = "slf4j-api")
}
// Force latest version of commons libraries
implementation("org.apache.commons:commons-lang3") {
version { strictly("3.15.0") }
}
implementation("commons-codec:commons-codec") {
version { strictly("1.17.1") }
}
implementation(libs.slf4j) // ical4j logging over java.util.Logger

androidTestImplementation(libs.androidx.test.core)
Expand Down

0 comments on commit 25be147

Please sign in to comment.