Search Gradle plugins

Using the plugins DSL:

plugins {
  id "se.bjurr.gitchangelog.git-changelog-gradle-plugin" version "1.25"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.se.bjurr.gitchangelog:git-changelog-gradle-plugin:1.25"
  }
}

apply plugin: "se.bjurr.gitchangelog.git-changelog-gradle-plugin"

Using the plugins DSL:

plugins {
  id("se.bjurr.gitchangelog.git-changelog-gradle-plugin") version "1.25"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.se.bjurr.gitchangelog:git-changelog-gradle-plugin:1.25")
  }
}

apply(plugin = "se.bjurr.gitchangelog.git-changelog-gradle-plugin")

Learn how to apply plugins to subprojects