Search Gradle plugins

Using the plugins DSL:

plugins {
  id("pl.allegro.tech.build.axion-release") version "1.18.16"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("pl.allegro.tech.build:axion-release-plugin:1.18.16")
  }
}

apply(plugin = "pl.allegro.tech.build.axion-release")

Using the plugins DSL:

plugins {
  id "pl.allegro.tech.build.axion-release" version "1.18.16"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "pl.allegro.tech.build:axion-release-plugin:1.18.16"
  }
}

apply plugin: "pl.allegro.tech.build.axion-release"

Learn how to apply plugins to subprojects