If I have the correct plugin code, it uses the old-style/deprecated “conventions” rather than the newer extension concept. I think this is the code that creates that convention.
You should be able to get a reference to that convention using the Convention interface:
ArtifactoryPluginConvention art = project.getRootProject().getConvention().[get|find]Plugin(ArtifactoryPluginConvention.class)