Skip to content

Commit 33181b7

Browse files
rollback commented gradle code
1 parent eeb6f13 commit 33181b7

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

dumper/app/build.gradle

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -243,23 +243,23 @@ tasks.named('distZip') {
243243
}
244244

245245
tasks.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

265265
tasks.register('copyGceLauncher', Copy) {

0 commit comments

Comments
 (0)