Skip to content

Commit

Permalink
Mark task as cacheable, in addition to defining inputs and outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennestuder committed May 25, 2022
1 parent c68262f commit 8b7ca2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions agent/service-message-maven-extension/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ tasks.register('buildExtension', Exec).configure {
inputs.file 'pom.xml'
inputs.dir 'src/main'
outputs.file 'target/service-message-maven-extension-1.0.jar'
outputs.cacheIf { true }
argumentProviders.add cmdLineArgProvider

def mvnw = DefaultNativePlatform.currentOperatingSystem.isWindows() ? './mvnw.cmd' : './mvnw'
Expand Down

0 comments on commit 8b7ca2b

Please sign in to comment.