Does anyone know if i can create a configuration e...
# general
m
Does anyone know if i can create a configuration extension in a precompiled script plugin? I’m getting this error:
Copy code
* What went wrong:
A problem occurred configuring root project 'build-modernization'.
> Failed to notify project evaluation listener.
   > Com_xfinity_dh_build_sonar_gradle.access$getExtension$p(LCom_xfinity_dh_build_sonar_gradle;)LSonarConfigurationExtension;
Never mind. I figured it out, i was creating the extension and holding onto it. I just needed to create it and forget about it. Then use getByType in my afterEvaluate to retrieve it.
v
Actually every usage of
afterEvaluate
is introducing race conditions, so better avoid them alltogether if possible. 😉