Search Gradle plugins

Version 4.2.1 (latest)

Created 23 October 2021.

Sets up JaCoCo for the JUnit 5 Platform

Using the plugins DSL:

plugins {
  id "ch.tutteli.gradle.plugins.junitjacoco" version "4.2.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "ch.tutteli:tutteli-gradle-junitjacoco:4.2.1"
  }
}

apply plugin: "ch.tutteli.gradle.plugins.junitjacoco"

Using the plugins DSL:

plugins {
  id("ch.tutteli.gradle.plugins.junitjacoco") version "4.2.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("ch.tutteli:tutteli-gradle-junitjacoco:4.2.1")
  }
}

apply(plugin = "ch.tutteli.gradle.plugins.junitjacoco")

Learn how to apply plugins to subprojects