sdedic commented on PR #4517:
URL: https://github.com/apache/netbeans/pull/4517#issuecomment-1221952761

   Update: I made a quick check - put a few breakpoints into e.g. `Jar` task 
... the fact is, that the tasks **are instantiated already**, because of 
[detection of task 
properties](https://github.com/apache/netbeans/blob/master/extide/gradle/netbeans-gradle-tooling/src/main/java/org/netbeans/modules/gradle/tooling/NbProjectInfoBuilder.java#L223)
 which is present in the `master`. 
   Even some more weird things. like `computeManifest` execute, thanks to 
   ```
   jar.manifest(manifest -> {
   ```
   
https://github.com/micronaut-projects/micronaut-gradle-plugin/blame/f3687ae6b2d8d830b7742788577b80351fa88ffc/docker-plugin/src/main/java/io/micronaut/gradle/docker/MicronautDockerPlugin.java#L157
   
   ... the original impl (2 years ago) used `project.afterEvaluation` - is that 
one of the typical things the users do mistakes with early evaluation ?


-- 
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: notifications-unsubscr...@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to