Search Gradle plugins

Version 1.1.4 (latest)

Created 20 March 2021.

Count the no. of lines of code in a file.

Using the plugins DSL:

plugins {
  id("com.rowlandoti.lines") version "1.1.4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("CodeLineCounter:lineCounterPlugin:1.1.4")
  }
}

apply(plugin = "com.rowlandoti.lines")

Using the plugins DSL:

plugins {
  id "com.rowlandoti.lines" version "1.1.4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "CodeLineCounter:lineCounterPlugin:1.1.4"
  }
}

apply plugin: "com.rowlandoti.lines"

Learn how to apply plugins to subprojects