2023-03-17 14:47:10 -04:00
|
|
|
// Get version from main project gradle
|
2024-10-30 17:36:19 -04:00
|
|
|
def packVersion = properties.get("packageVersion")
|
|
|
|
def jarVersion = properties.get("jarVersion")
|
2023-03-17 14:47:10 -04:00
|
|
|
//println "packageVersion is ${projVersion}"
|
|
|
|
|
2023-03-06 20:48:51 -05:00
|
|
|
configurations {
|
|
|
|
compileOnly {
|
|
|
|
extendsFrom annotationProcessor
|
|
|
|
}
|
|
|
|
jaxb
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-03-07 09:23:55 -05:00
|
|
|
implementation libs.bouncycastle
|
2024-11-22 10:58:20 -05:00
|
|
|
implementation libs.commons.codec
|
|
|
|
implementation libs.commons.lang3
|
|
|
|
implementation libs.commons.io
|
|
|
|
implementation libs.glassfish.jaxb.runtime
|
|
|
|
implementation libs.guava
|
2023-03-07 09:23:55 -05:00
|
|
|
implementation libs.jackson.core
|
|
|
|
implementation libs.jackson.databind
|
2024-11-21 12:07:57 -05:00
|
|
|
implementation libs.jakarta.persistence.api
|
2023-03-07 09:23:55 -05:00
|
|
|
implementation libs.jakarta.xml
|
2024-12-17 14:58:41 -05:00
|
|
|
implementation libs.spring.boot.starter.log4j2
|
2024-11-22 10:58:20 -05:00
|
|
|
implementation libs.minimal.json
|
2024-11-26 19:08:04 -05:00
|
|
|
|
2024-12-18 16:44:41 -05:00
|
|
|
implementation libs.pci
|
2025-01-06 17:40:26 -05:00
|
|
|
// explicitly include the patched version of the apache http client dependency
|
2024-11-26 19:08:04 -05:00
|
|
|
implementation libs.apacheHttpClient
|
2024-11-26 19:49:30 -05:00
|
|
|
|
2024-11-22 10:58:20 -05:00
|
|
|
compileOnly libs.lombok
|
|
|
|
annotationProcessor libs.lombok
|
|
|
|
|
2024-12-17 14:58:41 -05:00
|
|
|
testImplementation libs.spring.boot.starter.test
|
2025-01-08 17:30:09 -05:00
|
|
|
|
2025-01-06 17:40:26 -05:00
|
|
|
// explicitly include the patched version of the logback-core dependency
|
|
|
|
testImplementation libs.logback.classic
|
2025-01-08 17:30:09 -05:00
|
|
|
|
2024-08-14 18:51:39 -04:00
|
|
|
testImplementation project(path: ':HIRS_AttestationCA')
|
2024-11-25 15:34:27 -05:00
|
|
|
|
2024-11-22 10:58:20 -05:00
|
|
|
testCompileOnly libs.lombok
|
|
|
|
testAnnotationProcessor libs.lombok
|
2023-03-06 20:48:51 -05:00
|
|
|
}
|
|
|
|
|
2023-03-17 14:47:10 -04:00
|
|
|
jar {
|
|
|
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
|
|
|
manifest {
|
|
|
|
attributes(
|
2023-07-17 16:15:57 -04:00
|
|
|
'Class-Path': configurations.runtimeClasspath.files.collect { it.getName() }.join(' ')
|
|
|
|
)
|
2023-03-17 14:47:10 -04:00
|
|
|
}
|
2023-07-17 16:15:57 -04:00
|
|
|
//jar name format: [archiveBaseName]-[archiveAppendix]-[archiveVersion]-[archiveClassifier].[archiveExtension]
|
|
|
|
archiveVersion = jarVersion
|
2023-05-03 18:44:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
//task generateXjcLibrary(type:Exec) {
|
|
|
|
// workingDir 'config'
|
|
|
|
//
|
|
|
|
// commandLine './genXjcLibrary.sh'
|
|
|
|
//}
|
2023-11-01 10:03:34 -04:00
|
|
|
//compileJava.dependsOn generateXjcLibrary
|