Skip to content

Commit

Permalink
Add Jackson dependency - prepare for Gradle 9
Browse files Browse the repository at this point in the history
We need Jackson for the upcoming Structured Audit Log
  • Loading branch information
ar committed May 7, 2024
1 parent 85c8350 commit 7e07e05
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions jpos/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ extraJavaModuleInfo {

exports('org.apache.sshd.server')
exports('org.apache.sshd.server.auth.pubkey')
exports('org.apache.sshd.server.session')
exports('org.apache.sshd.server.session')
exports('org.apache.sshd.server.channel')
exports('org.apache.sshd.server.command')
exports('org.apache.sshd.server.shell')
Expand Down Expand Up @@ -57,6 +57,9 @@ dependencies {
api libs.slf4japi
api libs.micrometercore
api libs.micrometerprometheus
api libs.jacksonCore
api libs.jacksonDataBind
api libs.jacksonDataTypeJSR310

implementation libs.yaml;
implementation libs.jdbm
Expand Down Expand Up @@ -114,12 +117,28 @@ def jposCopySpec = copySpec {
include 'cfg/*.jks'
include 'cfg/*.ser'
include 'cfg/authorized_keys'
fileMode 0400
}
from(file("${project.buildDir}/libs/${q2ArchiveJarName}"))
into("lib") {
from(configurations.runtimeClasspath)
}
filePermissions {
user {
read = true
write = false
execute = false
}
group {
read = false
write = false
execute = false
}
other {
read = false
write = false
execute = false
}
}
}

task listJars {
Expand Down

0 comments on commit 7e07e05

Please sign in to comment.