Search Gradle plugins

Version 1.2.1

Created 24 November 2020.

Checkstyle configuration in line with the Indra file layout

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects