private static NbModelLoader chooseModel(
GradleTarget gradleTarget,
NbGradleModel cachedModel,
OperationInitializer setup) {
GradleVersion version = gradleTarget.getGradleVersion();
if (GlobalGradleSettings.getModelLoadingStrategy().getValue().canUse18Api(version)) {
LOGGER.log(Level.INFO, "Using model loader: {0}", NbGradle18ModelLoader.class.getSimpleName());
return new NbGradle18ModelLoader(setup, gradleTarget);
}