Search Gradle plugins

Configures Java compilation with Error Prone checks, NullAway, and sensible compiler defaults

https://github.com/xenoterracide/gradle-convention

Sources: https://github.com/xenoterracide/gradle-convention.git

Version 0.16.2

Created 13 February 2026.

Configures Java compilation with Error Prone checks, NullAway, and sensible compiler defaults

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.xenoterracide.gradle.convention.compile") version "0.16.2"
}

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("com.xenoterracide.gradle.convention.compile:com.xenoterracide.gradle.convention.compile.gradle.plugin:0.16.2")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.xenoterracide.gradle.convention.compile")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.xenoterracide.gradle.convention.compile:com.xenoterracide.gradle.convention.compile.gradle.plugin:0.16.2")
      }
    }
    
    apply(plugin = "com.xenoterracide.gradle.convention.compile")
  • Applying plugins to all subprojects .