Skip to content

Update dependencies - March 2026#4

Merged
KCeh merged 19 commits intomasterfrom
update-dependenices
Mar 11, 2026
Merged

Update dependencies - March 2026#4
KCeh merged 19 commits intomasterfrom
update-dependenices

Conversation

@kristijan-mitrov
Copy link
Copy Markdown
Collaborator

@kristijan-mitrov kristijan-mitrov commented Mar 11, 2026

Dependency Updates

AGP and Kotlin updated
Dokka config fixed

@kristijan-mitrov kristijan-mitrov requested a review from KCeh March 11, 2026 08:39
@kristijan-mitrov kristijan-mitrov self-assigned this Mar 11, 2026
Copy link
Copy Markdown
Collaborator

@KCeh KCeh left a comment

Choose a reason for hiding this comment

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

I personally wouldn't enforce transitive dependencies.
We can remove plugins (CPD) that are causing us issue. And I would upgrade everything else that is possible (ex, AGP).

If there are still some issues afterwards, we can dismiss them manully.

@kristijan-mitrov kristijan-mitrov requested a review from KCeh March 11, 2026 10:43
Comment on lines +11 to +21
commons-lang3 = "3.20.0"
dokka = "2.1.0"
jose4j = "0.9.6"
commons-compress = "1.26.0"
junit = "4.13.2"
mockk = "1.14.9"
json = "20251224"
netty = "4.1.129.Final"
protobuf-kotlin = "3.25.5"
jdom2 = "2.0.6.1"
rhino = "1.9.1"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can you remove transitive dependencies?

build.gradle Outdated
Comment on lines +18 to +40
configurations.classpath {
resolutionStrategy.eachDependency {
if (requested.group == "io.netty" && requested.name == "netty-handler") {
useVersion(libs.versions.netty.get())
}
if (requested.group == "com.google.protobuf" && requested.name == "protobuf-kotlin") {
useVersion(libs.versions.protobuf.kotlin.get())
}
if (requested.group == "org.jdom" && requested.name == "jdom2") {
useVersion(libs.versions.jdom2.get())
}
if (requested.group == "org.bitbucket.b_c" && requested.name == "jose4j") {
useVersion(libs.versions.jose4j.get())
}
if (requested.group == "org.apache.commons" && requested.name == "commons-compress") {
useVersion(libs.versions.commons.compress.get())
}
if (requested.group == "org.apache.commons" && requested.name == "commons-lang3") {
useVersion(libs.versions.commons.lang3.get())
}
if (requested.group == "org.mozilla" && requested.name == "rhino") {
useVersion(libs.versions.rhino.get())
}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Again, I don't think we should go with this approach (enforcing transitive dependencies).
Let's upgrade what is possible (like AGP) and then let's see if we need to dismiss some of security alets

@KCeh KCeh changed the title Update dependenices Update dependencies - March 2026 Mar 11, 2026
@sonarqubecloud
Copy link
Copy Markdown

@KCeh KCeh merged commit b11bffa into master Mar 11, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants