Search Gradle plugins

Version 2.0.6 (latest)

Created 24 July 2021.

Checkstyle configuration in line with the Indra file layout

Using the plugins DSL:

plugins {
  id "net.kyori.indra.checkstyle" version "2.0.6"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "net.kyori:indra-common:2.0.6"
  }
}

apply plugin: "net.kyori.indra.checkstyle"

Using the plugins DSL:

plugins {
  id("net.kyori.indra.checkstyle") version "2.0.6"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("net.kyori:indra-common:2.0.6")
  }
}

apply(plugin = "net.kyori.indra.checkstyle")

Learn how to apply plugins to subprojects