Search Gradle plugins

Using the plugins DSL:

plugins {
  id("net.serenity-bdd.serenity-gradle-plugin") version "3.1.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("net.serenity-bdd:serenity-gradle-plugin:3.1.5")
  }
}

apply(plugin = "net.serenity-bdd.serenity-gradle-plugin")

Using the plugins DSL:

plugins {
  id "net.serenity-bdd.serenity-gradle-plugin" version "3.1.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "net.serenity-bdd:serenity-gradle-plugin:3.1.5"
  }
}

apply plugin: "net.serenity-bdd.serenity-gradle-plugin"

Learn how to apply plugins to subprojects