Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
38 changes: 19 additions & 19 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ configurations {
def customDoubleParser = project.findProperty('customDoubleParser') ?: 'fast-double-parser'

dependencies {
compileOnly 'org.jetbrains:annotations:26.0.1'
compileOnly libs.jetbrains.annotations

annotationProcessor 'org.immutables:value:2.10.1'
compileOnly 'org.immutables:value-annotations:2.10.1'
annotationProcessor libs.immutables.value
compileOnly libs.immutables.value.annotations

if (customDoubleParser == 'fast-double-parser') {
// By default, use the fast double parser for tests and JMH
Expand All @@ -38,25 +38,25 @@ dependencies {
throw new IllegalArgumentException('Invalid customDoubleParser: ' + customDoubleParser)
}

testImplementation 'net.sf.trove4j:trove4j:3.0.3'
testImplementation 'commons-io:commons-io:2.17.0'
testCompileOnly 'org.jetbrains:annotations:26.0.1'

testImplementation 'org.assertj:assertj-core:3.26.3'
testImplementation(platform('org.junit:junit-bom:5.11.3'))
testImplementation 'org.junit.jupiter:junit-jupiter'

jmh 'com.fasterxml.jackson.dataformat:jackson-dataformat-csv:2.18.1'
jmh 'com.opencsv:opencsv:5.9'
jmh 'com.univocity:univocity-parsers:2.9.1'
jmh 'de.siegmar:fastcsv:2.2.2'
jmh 'net.sf.supercsv:super-csv:2.4.0'
jmh 'org.apache.commons:commons-csv:1.12.0'
jmh 'org.simpleflatmapper:sfm-csv:8.2.3'
testImplementation libs.trove4j
testImplementation libs.commons.io
testCompileOnly libs.jetbrains.annotations

testImplementation libs.assertj
testImplementation(platform(libs.junit.bom))
testImplementation libs.junit.jupiter

jmh libs.jackson.dataformat.csv
jmh libs.opencsv
jmh libs.univocity.parsers
jmh libs.fastcsv
jmh libs.super.csv
jmh libs.commons.csv
jmh libs.simpleflatemapper.csv
}

jmh {
jmhVersion = '1.37'
jmhVersion = libs.versions.jmh
// -prof gc
profilers = ['gc']
// -rf JSON
Expand Down
8 changes: 4 additions & 4 deletions fast-double-parser/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ dependencies {
api rootProject

// Multi-release jar, 8+ compatible
implementation 'ch.randelshofer:fastdoubleparser:2.0.1'
implementation libs.fast.double.parser

testImplementation 'org.assertj:assertj-core:3.26.3'
testImplementation(platform('org.junit:junit-bom:5.11.3'))
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation libs.assertj
testImplementation(platform(libs.junit.bom))
testImplementation libs.junit.jupiter
}

apply plugin: 'io.deephaven.csv.java-publishing-conventions'
37 changes: 37 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[versions]
assertj = "3.27.3"
commons = "1.12.0"
commons-io = "2.17.0"
fastcsv = "2.2.2"
fastdoubleparser = "2.0.1"
immutables = "2.10.1"
jackson = "2.18.1"
jetbrains = "26.0.1"
jmh = "1.37"
junit = "5.11.3"
opencsv = "5.9"
simpleflatmapper = "8.2.3"
supercsv = "2.4.0"
trove = "3.0.3"
univocity = "2.9.1"

[libraries]
assertj = { module = "org.assertj:assertj-core", version.ref = "assertj" }
commons-csv = { module = "org.apache.commons:commons-csv", version.ref = "commons" }
commons-io = { module = "commons-io:commons-io", version.ref = "commons-io" }
fastcsv = { module = "de.siegmar:fastcsv", version.ref = "fastcsv" }
fast-double-parser = { module = "ch.randelshofer:fastdoubleparser", version.ref = "fastdoubleparser"}
immutables-value = { module = "org.immutables:value", version.ref = "immutables" }
immutables-value-annotations = { module = "org.immutables:value-annotations", version.ref = "immutables" }
jackson-dataformat-csv = { module = "com.fasterxml.jackson.dataformat:jackson-dataformat-csv", version.ref = "jackson" }
jetbrains-annotations = { module = "org.jetbrains:annotations", version.ref = "jetbrains" }
junit-bom = { module = "org.junit:junit-bom", version.ref = "junit" }
junit-jupiter = { module = "org.junit.jupiter:junit-jupiter" }
junit-jupiter-engine = { module = "org.junit.jupiter:junit-jupiter-engine" }
junit-platform-launcher = { module = "org.junit.platform:junit-platform-launcher" }
junit-vintage-engine = { module = "org.junit.vintage:junit-vintage-engine" }
opencsv = { module = "com.opencsv:opencsv", version.ref = "opencsv" }
simpleflatemapper-csv = { module = "org.simpleflatmapper:sfm-csv", version.ref = "simpleflatmapper" }
super-csv = { module = "net.sf.supercsv:super-csv", version.ref = "supercsv" }
trove4j = { module = "net.sf.trove4j:trove4j", version.ref = "trove" }
univocity-parsers = { module = "com.univocity:univocity-parsers", version.ref = "univocity" }