Skip to content

Commit

Permalink
Move all version constraints declarations to version catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
emlun committed May 3, 2023
1 parent 7ee4ebd commit 74dd748
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ wrapper {

dependencies {
constraints {
api('com.augustcellars.cose:cose-java:[1.0.0,2)')
api('com.google.guava:guava:[24.1.1,32)')
api('com.upokecenter:cbor:[4.5.1,5)')
api('org.apache.httpcomponents.client5:httpclient5:[5.0.0,6)')
api('org.slf4j:slf4j-api:[1.7.25,3)')
api(constraintLibs.cose)
api(constraintLibs.guava)
api(constraintLibs.cbor)
api(constraintLibs.httpclient5)
api(constraintLibs.slf4j)
}
}

Expand Down
6 changes: 6 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@ dependencyResolutionManagement {
versionCatalogs {
create("constraintLibs") {
val jacksonVer = version("jackson", "[2.13.2.1,3)")

library("cbor", "com.upokecenter:cbor:[4.5.1,5)")
library("cose", "com.augustcellars.cose:cose-java:[1.0.0,2)")
library("guava", "com.google.guava:guava:[24.1.1,32)")
library("httpclient5", "org.apache.httpcomponents.client5:httpclient5:[5.0.0,6)")
library("jackson-bom", "com.fasterxml.jackson", "jackson-bom").versionRef(jacksonVer)
library("slf4j", "org.slf4j:slf4j-api:[1.7.25,3)")
}
}
}

1 comment on commit 74dd748

@github-actions
Copy link

Choose a reason for hiding this comment

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

Mutation test results

Package Coverage Stats Prev Prev
Overall 84 % 🟢 1317 🔺 / 1559 🔹 81 % 1265 / 1559
com.yubico.fido.metadata 84 % 🟢 269 🔺 / 318 🔹 68 % 217 / 318
com.yubico.internal.util 47 % 🔹 57 🔹 / 120 🔹 47 % 57 / 120
com.yubico.webauthn 87 % 🔹 558 🔹 / 637 🔹 87 % 558 / 637
com.yubico.webauthn.attestation 92 % 🔹 13 🔹 / 14 🔹 92 % 13 / 14
com.yubico.webauthn.data 93 % 🔹 395 🔹 / 423 🔹 93 % 395 / 423
com.yubico.webauthn.extension.appid 100 % 🏆 13 🔹 / 13 🔹 100 % 13 / 13
com.yubico.webauthn.extension.uvm 50 % 🔹 12 🔹 / 24 🔹 50 % 12 / 24
com.yubico.webauthn.meta 0 % 🔹 0 🔹 / 10 🔹 0 % 0 / 10

Previous run: 5a19899 - Diff

Detailed reports: workflow run #217

Please sign in to comment.