Search Gradle plugins

org.gradle.guides.test-jvm-code

Plugin required for testing of JVM code snippets used in guides

https://guides.gradle.org

Using the plugins DSL:

plugins {
  id "org.gradle.guides.test-jvm-code" version "0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.org.gradle.guides:gradle-guides-plugin:0.1"
  }
}

apply plugin: "org.gradle.guides.test-jvm-code"

Using the plugins DSL:

plugins {
  id("org.gradle.guides.test-jvm-code") version "0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.org.gradle.guides:gradle-guides-plugin:0.1")
  }
}

apply(plugin = "org.gradle.guides.test-jvm-code")

Learn how to apply plugins to subprojects