Search Gradle plugins

Opinionated, configurable code-quality gate for Java 21+ projects: google-java-format, Error Prone, NullAway, SpotBugs and JaCoCo, with strictness set by one profile.

https://github.com/balakmran/sterling

Sources: https://github.com/balakmran/sterling

Version 0.4.1 (latest)

Created 30 November 2026.

One code-quality gate for Java 21+ Gradle builds: google-java-format, Error Prone, NullAway with JSpecify, SpotBugs and JaCoCo, at versions tested together, run by stlCheck and tuned by one profile.

Gradle features compatibility:
Configuration cache ✓
(Incubating) Isolated Projects ✓

Add this plugin to your build using the plugins DSL:

plugins {
  id("dev.balakmran.sterling") version "0.4.1"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("dev.balakmran.sterling:dev.balakmran.sterling.gradle.plugin:0.4.1")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("dev.balakmran.sterling")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("dev.balakmran.sterling:dev.balakmran.sterling.gradle.plugin:0.4.1")
      }
    }
    
    apply(plugin = "dev.balakmran.sterling")
  • Applying plugins to all subprojects .