Skip to content

Commit 8b7ca2b

Browse files
committed
Mark task as cacheable, in addition to defining inputs and outputs
1 parent c68262f commit 8b7ca2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

agent/service-message-maven-extension/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ tasks.register('buildExtension', Exec).configure {
1616
inputs.file 'pom.xml'
1717
inputs.dir 'src/main'
1818
outputs.file 'target/service-message-maven-extension-1.0.jar'
19+
outputs.cacheIf { true }
1920
argumentProviders.add cmdLineArgProvider
2021

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

0 commit comments

Comments
 (0)