Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects