Search Gradle plugins

org.gradle.guides.test-jvm-code

Owner: Gradle

This plugin is deprecated and broken by the disappearance of JCenter. See plugin org.gradle.guides instead. Plugin required for testing of JVM code snippets used in guides

https://github.com/gradle-guides/gradle-guides-plugin

Sources: https://github.com/gradle-guides/gradle-guides-plugin

Version 0.15.28 (latest)

0.15.28

Created 19 December 2019.

This plugin version will no longer resolve after JCenter becomes a permanent redirect to Maven Central as it uses dependencies only found in JCenter. See the following blog post for details: https://blog.gradle.org/portal-jcenter-impact Plugin required for testing of JVM code snippets used in guides

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects