Best approach for a build plugin to configure another non gradle plugin

By the way, I forgot to link it, but this discussion seems related Add configuration when plugin is applied, handling different plugin versions - #10 by maxnitze