Search Gradle plugins

ch.tutteli.junitjacoco

Applies the junit5 platform plugin and binds jacoco to it.

https://github.com/robstoll/tutteli-gradle-plugins

Using the plugins DSL:

plugins {
  id "ch.tutteli.junitjacoco" version "0.27.3"
}

Using legacy plugin application:

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

apply plugin: "ch.tutteli.junitjacoco"

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects