Skip to content

Commit

Permalink
fix build path
Browse files Browse the repository at this point in the history
  • Loading branch information
Robothy committed Sep 1, 2024
1 parent abbb4f6 commit 29c29db
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion buildSrc/src/main/groovy/local-s3.publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ publishing {


task delombok(type: DelombokTask, dependsOn: compileJava) {
ext.outputDir = file("${layout.buildDirectory}/delombok")
ext.outputDir = file("${project.layout.buildDirectory}/delombok")
outputs.dir(outputDir)
sourceSets.main.java.srcDirs.each {
inputs.dir(it)
Expand Down
12 changes: 6 additions & 6 deletions local-s3-docker/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ tasks.register('collectReachabilityMetadata', JavaExec) {

outputs.cacheIf { true }

inputs.file("${layout.buildDirectory}/libs/s3.jar")
inputs.file("${project.layout.buildDirectory}/libs/s3.jar")
.withPropertyName("jar")
.withPathSensitivity(PathSensitivity.RELATIVE)

outputs.dir(file("${layout.buildDirectory}/reachability-metadata"))
outputs.dir(file("${project.layout.buildDirectory}/reachability-metadata"))
.withPropertyName("reachability-metadata")

mainClass.set('com.robothy.s3.docker.ReachabilityMetadataGenerator')
Expand All @@ -48,13 +48,13 @@ tasks.register('buildGraalVMNativeImage', Exec) {
dependsOn('collectReachabilityMetadata')

outputs.cacheIf { true }
inputs.dir(file("${layout.buildDirectory}/reachability-metadata"))
inputs.dir(file("${project.layout.buildDirectory}/reachability-metadata"))
.withPropertyName("reachability-metadata")
.withPathSensitivity(PathSensitivity.RELATIVE)
inputs.file("${layout.buildDirectory}/libs/s3.jar")
inputs.file("${project.layout.buildDirectory}/libs/s3.jar")
.withPropertyName("jar")
.withPathSensitivity(PathSensitivity.RELATIVE)
outputs.file("${layout.buildDirectory}/bin/s3")
outputs.file("${project.layout.buildDirectory}/bin/s3")
.withPropertyName("s3-native-image")

doFirst {
Expand All @@ -79,7 +79,7 @@ tasks.register('buildGraalVMNativeBasedDockerImage', Exec) {

outputs.cacheIf { true }

inputs.file("${layout.buildDirectory}/bin/s3")
inputs.file("${project.layout.buildDirectory}/bin/s3")
.withPropertyName("s3-native-image")
.withPathSensitivity(PathSensitivity.RELATIVE)

Expand Down

0 comments on commit 29c29db

Please sign in to comment.