File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,8 @@ tasks.register<Copy>("untarSkywalkingAgent") {
149149
150150 from(tarTree(resources.gzip(File (projectDir.parentFile, " build/agent/apache-skywalking-java-agent-$skywalkingAgentVersion .tgz" ))))
151151 into(File (projectDir.parentFile, " build/agent/extracted" ))
152+
153+ outputs.cacheIf { true }
152154}
153155
154156tasks.register<Zip >(" zipPlatformSkywalkingAgent" ) {
@@ -172,6 +174,8 @@ tasks.register<Zip>("zipPlatformSkywalkingAgent") {
172174 }
173175
174176 duplicatesStrategy = DuplicatesStrategy .FAIL
177+
178+ outputs.cacheIf { true }
175179}
176180
177181tasks.register<Zip >(" zipSppSkywalkingAgent" ) {
@@ -197,6 +201,8 @@ tasks.register<Zip>("zipSppSkywalkingAgent") {
197201 }
198202 from(File (projectDir, " ../services/build/libs/spp-skywalking-services-${project.version} .jar" ))
199203 }
204+
205+ outputs.cacheIf { true }
200206}
201207tasks[" classes" ].dependsOn(" zipSppSkywalkingAgent" , " zipPlatformSkywalkingAgent" )
202208
You can’t perform that action at this time.
0 commit comments