Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

apply(plugin = "nrlssc.gradle")

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "nrlssc.gradle"

Learn how to apply plugins to subprojects