Search Gradle plugins

Using the plugins DSL:

plugins {
  id("net.serenity-bdd.serenity-gradle-plugin") version "4.0.0-beta-3"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "net.serenity-bdd.serenity-gradle-plugin" version "4.0.0-beta-3"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects