Skip to content

Commit

Permalink
Migrate version catalogs to TOML config
Browse files Browse the repository at this point in the history
  • Loading branch information
ar committed Feb 22, 2024
1 parent 05b216c commit 66a2365
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 33 deletions.
51 changes: 51 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
[versions]
jdom = "2.0.6.1"
sleepycatje = "18.3.12"
commonscli = "1.5.0"
commonslang3 = "3.12.0"
jline = "3.23.0"
beanshell = "2.0b6"
javatuples = "1.2"
mockito = "5.4.0"
mockitojupiter = "5.4.0"
xmlunit = "1.6"
junit = "5.9.2"
bcprov = "2.73.2"
bcpg = "2.73.2"
hamcrest = "2.2"
sshd = "2.10.0"
eddsa = "0.3.0"
slf4japi = "2.0.12"
slf4jnop = "2.0.12"
hdrhistogram = "2.1.12"
yaml = "2.0"
micrometercore = "1.11.2"
micrometerprometheus = "1.11.2"
jdbm = '1.0'

[libraries]
jdom = { module = "org.jdom:jdom2", version.ref = "jdom" }
jdbm = { module = "jdbm:jdbm", version.ref='jdbm' }
sleepycatje = { module = "com.sleepycat:je", version.ref = "sleepycatje" }
commonscli = { module = "commons-cli:commons-cli", version.ref = "commonscli" }
commonslang3 = { module = "org.apache.commons:commons-lang3", version.ref = "commonslang3" }
jline = { module = "org.jline:jline", version.ref = "jline" }
beanshell = { module = "org.apache-extras.beanshell:bsh", version.ref = "beanshell" }
javatuples = { module = "org.javatuples:javatuples", version.ref = "javatuples" }
mockito = { module = "org.mockito:mockito-core", version.ref = "mockito" }
mockitojupiter = { module = "org.mockito:mockito-junit-jupiter", version.ref = "mockitojupiter" }
xmlunit = { module = "xmlunit:xmlunit", version.ref = "xmlunit" }
junit = { module = "org.junit.jupiter:junit-jupiter", version.ref = "junit" }
bcprov = { module = "org.bouncycastle:bcprov-lts8on", version.ref = "bcprov" }
bcpg = { module = "org.bouncycastle:bcpg-lts8on", version.ref = "bcpg" }
hamcrest = { module = "org.hamcrest:hamcrest", version.ref = "hamcrest" }
sshd = { module = "org.apache.sshd:sshd-core", version.ref = "sshd" }
eddsa = { module = "net.i2p.crypto:eddsa", version.ref = "eddsa" }
slf4japi = { module = "org.slf4j:slf4j-api", version.ref = "slf4japi" }
slf4jnop = { module = "org.slf4j:slf4j-nop", version.ref = "slf4jnop" }
hdrhistogram = { module = "org.hdrhistogram:HdrHistogram", version.ref = "hdrhistogram" }
yaml = { module = "org.yaml:snakeyaml", version.ref = "yaml" }
micrometercore = { module = "io.micrometer:micrometer-core", version.ref = "micrometercore" }
micrometerprometheus = { module = "io.micrometer:micrometer-registry-prometheus", version.ref = "micrometerprometheus" }


33 changes: 0 additions & 33 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,3 @@ include 'jpos'

rootProject.name = 'jpos'

dependencyResolutionManagement {
versionCatalogs {
libs {
library('jdom', 'org.jdom', 'jdom2').version('2.0.6.1')
library('jdbm', 'jdbm:jdbm:1.0')

library('sleepycatje', 'com.sleepycat:je:18.3.12')
library('commonscli', 'commons-cli:commons-cli:1.5.0')
library('commonslang3', 'org.apache.commons:commons-lang3:3.12.0')
library('jline', 'org.jline:jline:3.23.0')
library('beanshell', 'org.apache-extras.beanshell:bsh:2.0b6')
library('javatuples', 'org.javatuples:javatuples:1.2')
library('mockito', 'org.mockito:mockito-core:5.4.0')
library('mockitojupiter', 'org.mockito:mockito-junit-jupiter:5.4.0')
library('xmlunit', 'xmlunit:xmlunit:1.6')
library('junit', 'org.junit.jupiter:junit-jupiter:5.9.2')

library('bcprov', "org.bouncycastle:bcprov-lts8on:2.73.2")
library('bcpg', "org.bouncycastle:bcpg-lts8on:2.73.2")

library('hamcrest', 'org.hamcrest:hamcrest:2.2')
library('sshd', 'org.apache.sshd', 'sshd-core').version('2.10.0')
library('eddsa', 'net.i2p.crypto:eddsa:0.3.0')
library('slf4japi', 'org.slf4j:slf4j-api:2.0.12')
library('slf4jnop', 'org.slf4j:slf4j-nop:2.0.12')
library('hdrhistogram', 'org.hdrhistogram:HdrHistogram:2.1.12')
library('yaml', 'org.yaml:snakeyaml:2.0')
library('micrometercore', 'io.micrometer:micrometer-core:1.11.2')
library('micrometerprometheus', 'io.micrometer:micrometer-registry-prometheus:1.11.2')
}
}
}

0 comments on commit 66a2365

Please sign in to comment.