File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed
Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -243,23 +243,23 @@ tasks.named('distZip') {
243243}
244244
245245tasks. register(' generateSourceMirror' , Copy ) {
246- // dependsOn 'compileJava'
247- // from {
248- // dependencies.createArtifactResolutionQuery()
249- // .forComponents(
250- // configurations.runtimeClasspath.incoming.resolutionResult
251- // .allDependencies.collect { it.selected.id }
252- // )
253- // .withArtifacts(JvmLibrary, SourcesArtifact)
254- // .execute()
255- // .resolvedComponents
256- // .collectMany {
257- // it.artifactResults
258- // .collect { it.file.path }
259- // }
260- // }
261- // into layout.buildDirectory.dir('mirror/sources')
262- // outputs.dir "mirror/sources"
246+ dependsOn ' compileJava'
247+ from {
248+ dependencies. createArtifactResolutionQuery()
249+ .forComponents(
250+ configurations. runtimeClasspath. incoming. resolutionResult
251+ .allDependencies. collect { it. selected. id }
252+ )
253+ .withArtifacts(JvmLibrary , SourcesArtifact )
254+ .execute()
255+ .resolvedComponents
256+ .collectMany {
257+ it. artifactResults
258+ .collect { it. file. path }
259+ }
260+ }
261+ into layout. buildDirectory. dir(' mirror/sources' )
262+ outputs. dir " mirror/sources"
263263}
264264
265265tasks. register(' copyGceLauncher' , Copy ) {
You can’t perform that action at this time.
0 commit comments