Search Gradle plugins

Using the plugins DSL:

plugins {
  id("nrlssc.gradle") version "2.0.8"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("mil.navy.nrlssc:nrl-plugin:2.0.8")
  }
}

apply(plugin = "nrlssc.gradle")

Using the plugins DSL:

plugins {
  id "nrlssc.gradle" version "2.0.8"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "mil.navy.nrlssc:nrl-plugin:2.0.8"
  }
}

apply plugin: "nrlssc.gradle"

Learn how to apply plugins to subprojects