Skip to content

Commit

Permalink
Added handlebars, slf4j, commons-io dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
adoble committed Oct 1, 2024
1 parent 38f7933 commit 4a8dfa2
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 4 deletions.
7 changes: 6 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,17 @@ configurations {
}

dependencies {
// Dependency versions can be found at {project root}/gradle/libs.versions.toml
implementation(libs.picocli)
implementation(libs.jansi)
implementation(libs.commonstext)
implementation(libs.handlebars)
implementation(libs.slf4j)
implementation(libs.commonsio)
}

group = "org.doble"
version = "3.3.1"
version = "3.4.0-alpha"
description = "adr-j"

java {
Expand Down
24 changes: 21 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,28 @@
junit = "5.11.0"

[libraries]
picocli = "info.picocli:picocli:4.7.6"
jansi = "org.fusesource.jansi:jansi:2.4.1"

picocli = "info.picocli:picocli:4.7.6"
jansi = "org.fusesource.jansi:jansi:2.4.1"
commonstext = "org.apache.commons:commons-text:1.7"

# The Handlebars templating library in java.
# As ADR-J requires compatablity with Java 11 we need to use an older version
# of the libary as Handlebars 4.4+ requires Java 17 or higher.
handlebars = "com.github.jknack:handlebars:4.3.1"

# The handlebars library has a dependency on the logging facade
# slf4j and reports on the console that it cannot find it. To remove
# this annoying message need to have a dependency to the no-operation
# version. See https://www.slf4j.org/codes.html#StaticLoggerBinder
slf4j = "org.slf4j:slf4j-nop:2.0.16"

# Required for file name handling
commonsio = "commons-io:commons-io:2.16.1"

# the followng are used for testing
hamcrest = "org.hamcrest:hamcrest:3.0"
jimfs = "com.google.jimfs:jimfs:1.3.0"
jimfs = "com.google.jimfs:jimfs:1.3.0"

[plugins]
shadow = "com.gradleup.shadow:8.3.0"

0 comments on commit 4a8dfa2

Please sign in to comment.