Search Gradle plugins

io.github.estivensh4.jacoco-coverage

The io.github.estivensh4.jacoco-coverage plugin allows Gradle build scripts to configure minimum Java Code Coverage thresholds for projects, packages, classes, and files.

https://github.com/estivensh4/kotlin-libs-publisher

Sources: https://github.com/estivensh4/kotlin-libs-publisher

Version 0.0.2 (latest)

Created 23 February 2023.

The io.github.estivensh4.jacoco-coverage plugin allows Gradle build scripts to configure minimum Java Code Coverage thresholds for projects, packages, classes, and files.

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.github.estivensh4.jacoco-coverage") version "0.0.2"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("io.github.estivensh4.jacoco-coverage:io.github.estivensh4.jacoco-coverage.gradle.plugin:0.0.2")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("io.github.estivensh4.jacoco-coverage")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("io.github.estivensh4.jacoco-coverage:io.github.estivensh4.jacoco-coverage.gradle.plugin:0.0.2")
      }
    }
    
    apply(plugin = "io.github.estivensh4.jacoco-coverage")
  • Applying plugins to all subprojects .