Search Gradle plugins

Using the plugins DSL:

plugins {
  id("name.remal.randomize-test-classes") version "1.5.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("name.remal:gradle-plugins:1.5.0")
  }
}

apply(plugin = "name.remal.randomize-test-classes")

Using the plugins DSL:

plugins {
  id "name.remal.randomize-test-classes" version "1.5.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "name.remal:gradle-plugins:1.5.0"
  }
}

apply plugin: "name.remal.randomize-test-classes"

Learn how to apply plugins to subprojects