diff --git a/e2e-test/build.gradle b/e2e-test/build.gradle index 4f1c3b079d..f3e66353f1 100644 --- a/e2e-test/build.gradle +++ b/e2e-test/build.gradle @@ -52,7 +52,7 @@ subprojects { tasks.register('copyDataPrepperArchive', Copy) { dependsOn ':release:archives:linux:linuxx64DistTar' duplicatesStrategy = DuplicatesStrategy.EXCLUDE - from project(':release:archives:linux').tasks.getByName('linuxx64DistTar').archivePath + from project(':release:archives:linux').tasks.getByName('linuxx64DistTar').archiveFile.get().asFile into("${project.buildDir}/docker/") } diff --git a/release/archives/build.gradle b/release/archives/build.gradle index b7d751c8b9..bb5ec3f53a 100644 --- a/release/archives/build.gradle +++ b/release/archives/build.gradle @@ -147,7 +147,7 @@ CopySpec archiveToTar() { return copySpec { duplicatesStrategy = DuplicatesStrategy.EXCLUDE into('lib') { - from project(':data-prepper-main').jar.archivePath + from project(':data-prepper-main').jar.archiveFile.get().asFile from configurations.runtimeClasspath //from allDependencyJarsFromMain(project(path: ':data-prepper-main', configuration: 'allDependencyJars')).runtimeClasspath //from project(':data-prepper-main').configurations.allDependencyJars diff --git a/release/docker/build.gradle b/release/docker/build.gradle index 1816364b6c..cf4c75e726 100644 --- a/release/docker/build.gradle +++ b/release/docker/build.gradle @@ -10,7 +10,7 @@ plugins { docker { name "${project.rootProject.name}:${project.version}" tag "${project.rootProject.name}", "${project.version}" - files project(':release:archives:linux').tasks.getByName('linuxx64DistTar').archivePath + files project(':release:archives:linux').tasks.getByName('linuxx64DistTar').archiveFile.get().asFile files "${project.projectDir}/config/default-data-prepper-config.yaml", "${project.projectDir}/config/default-keystore.p12" files 'adoptium.repo' buildArgs(['ARCHIVE_FILE' : project(':release:archives:linux').tasks.getByName('linuxx64DistTar').archiveFileName.get(),