From 7e07e0576921ca85657939c53ace94c0e4d564d1 Mon Sep 17 00:00:00 2001 From: Alejandro Revilla Date: Tue, 7 May 2024 11:28:35 -0300 Subject: [PATCH] Add Jackson dependency - prepare for Gradle 9 We need Jackson for the upcoming Structured Audit Log --- jpos/build.gradle | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/jpos/build.gradle b/jpos/build.gradle index c36b35da91..739d753ddb 100644 --- a/jpos/build.gradle +++ b/jpos/build.gradle @@ -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') @@ -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 @@ -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 {