Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 21418

Configuration phase thread safety

$
0
0

Yes. This isn’t really a properly documented guarantee, but there is loads of code out there that works under the presumption that configuration happens single-threaded that this would be an enormous breaking change. So yeah, you can safely assume that configuration doesn’t need to be guarded against concurrent execution. The one exception to this is composite builds, in which some configuration of included builds can happen in parallel. That’s a unique situation, and most folks don’t need to deal with cross-build configuration logic in that case anyhow.


Viewing all articles
Browse latest Browse all 21418

Trending Articles