Search Gradle plugins

Version 0.4.0

0.4.0

Created 29 May 2024.

Common Java conventions

Using the plugins DSL:

plugins {
  id("org.anwait.java-conventions") version "0.4.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.anwait.gradle:java-conventions:0.4.0")
  }
}

apply(plugin = "org.anwait.java-conventions")

Using the plugins DSL:

plugins {
  id "org.anwait.java-conventions" version "0.4.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.anwait.gradle:java-conventions:0.4.0"
  }
}

apply plugin: "org.anwait.java-conventions"

Learn how to apply plugins to subprojects