Search Gradle plugins

Version 1.3.1 (latest)

Created 03 February 2021.

Checkstyle configuration in line with the Indra file layout

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects