Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects