Storing custom plugin outside of Plugin Portal

Is it possible to store a custom plugin in GitHub or Artifactory and apply the plugin directly from there without going through the Plugin Portal? If so does anyone have sample code showing how this can be done?

You can find the information here: https://docs.gradle.org/current/userguide/plugins.html#sec:custom_plugin_repositories

Looks right. Thanks for the direction!