Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.mkring.wildlydeplyplugin.deploy-wildfly-plugin") version "0.2.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.mkring.wildlydeplyplugin:wildfly-deploy-gradle-plugin:0.2.3")
  }
}

apply(plugin = "com.mkring.wildlydeplyplugin.deploy-wildfly-plugin")

Using the plugins DSL:

plugins {
  id "com.mkring.wildlydeplyplugin.deploy-wildfly-plugin" version "0.2.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.mkring.wildlydeplyplugin:wildfly-deploy-gradle-plugin:0.2.3"
  }
}

apply plugin: "com.mkring.wildlydeplyplugin.deploy-wildfly-plugin"

Learn how to apply plugins to subprojects