Search Gradle plugins

Using the plugins DSL:

plugins {
  id("io.github.torrescd.junitxml-gradle-plugin") version "0.0.2-SNAPSHOT"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.torrescd:junitxml-gradle-plugin:0.0.2-SNAPSHOT")
  }
}

apply(plugin = "io.github.torrescd.junitxml-gradle-plugin")

Using the plugins DSL:

plugins {
  id "io.github.torrescd.junitxml-gradle-plugin" version "0.0.2-SNAPSHOT"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.torrescd:junitxml-gradle-plugin:0.0.2-SNAPSHOT"
  }
}

apply plugin: "io.github.torrescd.junitxml-gradle-plugin"

Learn how to apply plugins to subprojects