Search Gradle plugins

Version 0.1.3 (latest)

0.1.3

Created 18 June 2020.

This plugin displays the following metrics for your project: LOC, number of classes and average LOC per class.

Using the plugins DSL:

plugins {
  id("com.github.rafaritter44.metrics") version "0.1.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.github.rafaritter44.metrics:plugin:0.1.3")
  }
}

apply(plugin = "com.github.rafaritter44.metrics")

Using the plugins DSL:

plugins {
  id "com.github.rafaritter44.metrics" version "0.1.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.github.rafaritter44.metrics:plugin:0.1.3"
  }
}

apply plugin: "com.github.rafaritter44.metrics"

Learn how to apply plugins to subprojects