Search Gradle plugins

Version 1.0.1 (latest)

1.0.1

Created 28 December 2020.

Count the number of project code lines

Using the plugins DSL:

plugins {
  id("com.johnsonfitness.file-lines") version "1.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.johnsonfitness:CalcLinesOfCode:1.0.1")
  }
}

apply(plugin = "com.johnsonfitness.file-lines")

Using the plugins DSL:

plugins {
  id "com.johnsonfitness.file-lines" version "1.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.johnsonfitness:CalcLinesOfCode:1.0.1"
  }
}

apply plugin: "com.johnsonfitness.file-lines"

Learn how to apply plugins to subprojects