Search Gradle plugins

Using the plugins DSL:

plugins {
  id "hmcts.ccd.sdk" version "0.19.12"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.uk.gov.hmcts.reform:ccd-gradle-plugin:0.19.12"
  }
}

apply plugin: "hmcts.ccd.sdk"

Using the plugins DSL:

plugins {
  id("hmcts.ccd.sdk") version "0.19.12"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.uk.gov.hmcts.reform:ccd-gradle-plugin:0.19.12")
  }
}

apply(plugin = "hmcts.ccd.sdk")

Learn how to apply plugins to subprojects