Skip to content

Commit

Permalink
WIP gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
juergen-walter committed Sep 25, 2024
1 parent a1ae0d1 commit b894f62
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion e2e-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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/")
}

Expand Down
2 changes: 1 addition & 1 deletion release/archives/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion release/docker/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit b894f62

Please sign in to comment.