hibernate-transaction-client dep resolution during Gradle conf

This commit is contained in:
Steve Ebersole 2021-07-19 09:42:21 -05:00
parent 6c98441518
commit 4f265ee8ce
1 changed files with 4 additions and 1 deletions

View File

@ -38,6 +38,9 @@ tasks.test.enabled = false
tasks.jar.enabled = false tasks.jar.enabled = false
task jakartafyDependency(type: JakartaJarTransformation) { task jakartafyDependency(type: JakartaJarTransformation) {
sourceJar = project.configurations.wildFlyTxnClient.resolvedConfiguration.resolvedArtifacts.find().file sourceJar = project.provider({
project.configurations.wildFlyTxnClient.resolvedConfiguration.resolvedArtifacts.find().file
})
targetJar = tasks.jar.archiveFile targetJar = tasks.jar.archiveFile
} }