resolveFactory

fun resolveFactory(factories: Sequence<AgpHandler.Factory> = loadFactories(), testAgpVersion: AndroidPluginVersion? = null): AgpHandler.Factory(source)

Load factories and pick the highest compatible version (by AgpHandler.Factory.minVersion)