matrei commented on code in PR #14093:
URL: https://github.com/apache/grails-core/pull/14093#discussion_r2020520528


##########
gradle/assemble-config.gradle:
##########
@@ -0,0 +1,19 @@
+tasks.register('installToHomeDist', Copy) {
+    inputs.files(tasks.named('jar').map { it.outputs.files })
+    inputs.files(tasks.named('sourcesJar').map { it.outputs.files })
+    inputs.files(tasks.named('javadocJar').map { it.outputs.files })
+    outputs.dir(distInstallDir)
+    from layout.buildDirectory.dir('libs')
+    into distInstallDir
+}
+
+tasks.withType(PublishToMavenLocal).configureEach {
+    dependsOn('installToHomeDist')
+    doLast {
+        copy {

Review Comment:
   These distribution directories are deleted by a `clean` task in the root 
build file.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to