While many properties on JibExtension utilise lazy configuration APIs, including some of the more complex ones like labels, there are some, including mainClass and jvmFlags, that do not. This forces users of the plugin to have to resort to using Project.afterEvaluate() in certain scenarios.
Would you be willing to accept a PR if I addressed that?