Search Gradle plugins

Using the plugins DSL:

plugins {
  id("no.skatteetaten.gradle.aurora") version "2.2.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.no.skatteetaten.aurora.gradle.plugins:aurora-gradle-plugin:2.2.0")
  }
}

apply(plugin = "no.skatteetaten.gradle.aurora")

Using the plugins DSL:

plugins {
  id "no.skatteetaten.gradle.aurora" version "2.2.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.no.skatteetaten.aurora.gradle.plugins:aurora-gradle-plugin:2.2.0"
  }
}

apply plugin: "no.skatteetaten.gradle.aurora"

Learn how to apply plugins to subprojects