Search Gradle plugins

io.github.alexeytereshchenko.guardian

This Gradle plugin is an aggregator that configures Error Prone and CheckStyle, aiming to reduce boilerplate code and ensure consistent quality across projects. It automatically applies Git hooks to run tests and builds before each push, enhancing code reliability and development workflow.

https://github.com/alexeytereshchenko/CodeGuardian

Sources: https://github.com/alexeytereshchenko/CodeGuardian

Version 1.2.5 (latest)

Created 09 February 2024.

This Gradle plugin is an aggregator that configures Error Prone and CheckStyle, aiming to reduce boilerplate code and ensure consistent quality across projects. It automatically applies Git hooks to run tests and builds before each push, enhancing code reliability and development workflow.

Using the plugins DSL:

plugins {
  id("io.github.alexeytereshchenko.guardian") version "1.2.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.alexeytereshchenko.guardian:plugin:1.2.5")
  }
}

apply(plugin = "io.github.alexeytereshchenko.guardian")

Using the plugins DSL:

plugins {
  id "io.github.alexeytereshchenko.guardian" version "1.2.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.alexeytereshchenko.guardian:plugin:1.2.5"
  }
}

apply plugin: "io.github.alexeytereshchenko.guardian"

Learn how to apply plugins to subprojects