apply plugin: '[Link].
boot'
// Build a non-boot jar for consumption by the AC tests submodule
jar {
enabled = true
}
// Build the Jar to be run
bootJar {
enabled = true
destinationDir = new File([Link], 'libs')
}
/*configurations {
contractConfig
jaxb
}*/
// Share the system properties with the bootRun task so we can pass in the spring
active profile
[Link]['[Link]'] =
[Link]['[Link]']
ext {
/* jaxbSettings = [[
jaxbTargetPackage :
'[Link]',
jaxbXjbFile : 'ods-retriever-query',
contractJar : '[Link]:os-ods-
contracts:5.5.2-194',
xsdFiles : ['OpsSchedBusinessEvents']
],[
//jaxbTargetPackage :
'[Link]',
//jaxbXjbFile : 'TFMData',
contractJar :
'[Link]:swim-tfms-adapter-contract:1.0.0',
xsdFiles : ['TFMData_Service']
]]*/
jaxbTargetDir = file("$buildDir/generated-sources")
sourceSets {
main {
[Link] jaxbTargetDir
}
}
dependencies {
//jaxb '[Link]:jaxb-xjc:2.2.4-1'
implementation '[Link]:spring-boot-starter'
implementation '[Link]:spring-boot-starter-actuator'
implementation '[Link]:spring-boot-starter-log4j2'
implementation '[Link]:spring-boot-starter-web'
//implementation '[Link]:common-log4j2:5.0.+'
implementation '[Link]:spring-jms'
implementation '[Link]:spring-web'
implementation '[Link]:aws-java-sdk-sqs'
implementation '[Link]:amazon-sqs-java-messaging-lib:1.0.5'
implementation '[Link]:jaxb-impl:2.2.3-1'
implementation "[Link]:aws-java-sdk-dynamodb:
$awsJavaSDKDynamoDBVersion"
implementation group: '[Link]', name: 'guava', version: '22.0'
implementation '[Link]:jackson-datatype-joda:2.9.2'
runtimeOnly("[Link]:micrometer-registry-prometheus")
compile '[Link]:aws-java-sdk-s3'
compile "[Link]:[Link]-api:${javaxJmsVersion}"
compile "[Link]:amazon-sqs-java-extended-client-lib:1.0.1"
compile '[Link]:spring-oxm'
compile '[Link]:spring-xml'
compile '[Link]:xmlschema-core:2.1.0'
//contractConfig '[Link]:os-ods-contracts:5.5.2-194'
compile group: '[Link]', name: 'spring-integration-
aws', version: '[Link]'
compile '[Link]:aws-java-sdk-kinesis'
compile '[Link]:gson'
// providedRuntime '[Link]:spring-boot-starter-tomcat'
compile group: '[Link]', name: 'aws-java-sdk-secretsmanager', version:
'1.11.550'
testCompile "[Link]:mockito-core:${mockitoVersion}"
testImplementation '[Link]:spring-boot-starter-test'
runtimeOnly("[Link]:spring-boot-starter-actuator")
}
/*task xsdGen {
[Link] jaxbTargetDir
doLast {
[Link]()
[Link](name: 'xjc', classname: '[Link]', classpath:
[Link])
}
}
[Link] xsdGen
[Link] xsdGen
task unpackContracts(type: Copy) {
from [Link] { zipTree(it) }
into "${buildDir}/resources/main/xsd"
}
[Link] unpackContracts
[Link] unpackContracts*/