Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.tngtech.jgiven.gradle-plugin") version "0.14.0-RC3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.tngtech.jgiven:jgiven-gradle-plugin:0.14.0-RC3")
  }
}

apply(plugin = "com.tngtech.jgiven.gradle-plugin")

Using the plugins DSL:

plugins {
  id "com.tngtech.jgiven.gradle-plugin" version "0.14.0-RC3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.tngtech.jgiven:jgiven-gradle-plugin:0.14.0-RC3"
  }
}

apply plugin: "com.tngtech.jgiven.gradle-plugin"

Learn how to apply plugins to subprojects